diff --git a/_data/collab_links.yml b/_data/collab_links.yml new file mode 100644 index 000000000000..9893c0254c75 --- /dev/null +++ b/_data/collab_links.yml @@ -0,0 +1,25 @@ +it: + - name: "issue_tracker" + title: "Issue Tracker" + icon: "it-github" + + - name: "forum" + title: "Entra nel forum" + icon: "it-horn" + + - name: "sign_up_slack" + title: "Registrati su Slack" + secondary: true + +en: + - name: "issue_tracker" + title: "Issue Tracker" + icon: "it-github" + + - name: "forum" + title: "Enter the forum" + icon: "it-horn" + + - name: "sign_up_slack" + title: "Register on Slack" + secondary: true \ No newline at end of file diff --git a/_data/l10n.yml b/_data/l10n.yml index e93f6ae39e7b..edfb13c4de9b 100644 --- a/_data/l10n.yml +++ b/_data/l10n.yml @@ -190,6 +190,7 @@ it: project_abilitante: Piattaforma abilitante project_owner: Titolare project_manager: Gestore + project_collab: Canali project_risorse: Risorse project_issues: Attività aperte project_issues_go: Vai alla pagina delle Attività @@ -633,6 +634,7 @@ en: project_abilitante: Enabling Platform project_owner: Owner project_manager: Manager + project_collab: Collaboration project_risorse: Resources project_issues: Open issues project_issues_go: Go to Issues page diff --git a/_includes/platform-collab.html b/_includes/platform-collab.html new file mode 100644 index 000000000000..2960ba96e0aa --- /dev/null +++ b/_includes/platform-collab.html @@ -0,0 +1,33 @@ +{% assign collab_links = site.data.collab_links[active_lang] %} + +
+

+ {{ page.collab.description }} +

+
+ {% for link in page.collab.links %} + {% if link.title %} + {% assign link_title = link.title %} + {% assign link_icon = link.icon | default: "" %} + {% assign link_secondary = link.secondary | default: false %} + {% else %} + {% assign collab_link = collab_links | where: "name", link.name | first %} + {% if collab_link %} + {% assign link_title = collab_link.title %} + {% assign link_icon = collab_link.icon | default: "" %} + {% assign link_secondary = collab_link.secondary | default: false %} + {% endif %} + {% endif %} + + {% if link_icon != "" %} + + + + + + {% endif %} + {{ link_title }} + + {% endfor %} +
+
diff --git a/_layouts/platform.html b/_layouts/platform.html index 7f88b4cfda3b..6792a0031157 100644 --- a/_layouts/platform.html +++ b/_layouts/platform.html @@ -90,6 +90,11 @@

{{ page.subtitle }}

{{ content }} + {% if page.collab %} +

{{t.project_collab}}

+ {% include platform-collab.html %} + {% endif %} + {% if page.resources %} {% unless page.resources_hide_title %}

{{t.project_risorse}}

diff --git a/_platforms/en/anpr.md b/_platforms/en/anpr.md index 44849cad9059..3a719fa046a9 100644 --- a/_platforms/en/anpr.md +++ b/_platforms/en/anpr.md @@ -34,6 +34,15 @@ resources: icon: github url: https://github.com/italia/anpr-client-example desc: Client for testing the connection with ANPR +collab: + description: We built some collaboration tools for you including an issue tracker and a forum dedicated to discuss all the problems on integrating ANPR. + links: + - name: issue_tracker + url: "https://github.com/italia/anpr/issues" + - name: forum + url: "https://forum.italia.it/c/anpr" + - name: "sign_up_slack" + url: "https://slack.developers.italia.it/" --- ## Intro @@ -70,12 +79,3 @@ ANPR provides a test environment that municipalities can use to: For technical specifications, service documentation and the guide to the migration process for municipalities, please refer to the [Technical documentation and reference tables](https://docs.italia.it/italia/anpr/anpr/). - -## Collaboration - -We built some collaboration tools for you including an *issue tracker* and -a forum dedicated to discuss all the problems on integrating ANPR. - - Issue tracker - Enter the forum - Sign up on Slack diff --git a/_platforms/it/anpr.md b/_platforms/it/anpr.md index 8dd23933571a..1dd89b183477 100644 --- a/_platforms/it/anpr.md +++ b/_platforms/it/anpr.md @@ -32,6 +32,17 @@ resources: icon: github url: https://github.com/italia/anpr-client-example desc: Client per il test della connessione ad ANPR +collab: + description: Abbiamo creato degli strumenti di collaborazione a vostra disposizione, tra cui un issue tracker e un forum dedicato alla discussione delle problematiche di integrazione. + links: + - name: issue_tracker + url: "https://github.com/italia/anpr/issues" + - name: forum + url: "https://forum.italia.it/c/anpr" + - title: "Dialoga su Slack (#anpr)" + url: https://developersitalia.slack.com/archives/C7A8NS7RQ + - name: "sign_up_slack" + url: "https://slack.developers.italia.it/" --- ## Intro @@ -73,15 +84,4 @@ salotto, oppure di scaricare un certificato di stato di famiglia. Per le specifiche tecniche la documentazioni dei servizi e la guida al processo di migrazione per i comuni si faccia riferimento alla [Documentazione tecnica e tabelle di -riferimento](https://docs.italia.it/italia/anpr/anpr/){:target="_blank"} - -## Canali - -Abbiamo creato degli strumenti di collaborazione a vostra disposizione, tra cui -un *issue tracker* e un forum dedicato alla discussione delle problematiche di -integrazione. - - Issue tracker - Entra nel forum - Dialoga su Slack (#anpr) - Registrati su Slack +riferimento](https://docs.italia.it/italia/anpr/anpr/){:target="_blank"} \ No newline at end of file