design-comuni-plone-theme 11.11.0 → 11.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ name: Release latest version on npm
2
+ on:
3
+ release:
4
+ types: [released]
5
+
6
+ jobs:
7
+ release_to_npm:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v4
11
+
12
+ - uses: actions/setup-node@v4
13
+ with:
14
+ node-version: '18.x'
15
+ registry-url: 'https://registry.npmjs.org'
16
+
17
+ - name: Release to npm
18
+ run: yarn npm publish
19
+ env:
20
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/.release-it.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "commitMessage": "chore: release v${version}"
5
5
  },
6
6
  "npm": {
7
- "publish": true
7
+ "publish": false
8
8
  },
9
9
  "github": {
10
10
  "release": true,
Binary file
package/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
 
2
2
 
3
+ ## [11.11.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.11.0...v11.11.1) (2024-05-02)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * changed recurrence buttons spacing and rrule translation for on_the ([#672](https://github.com/redturtle/design-comuni-plone-theme/issues/672)) ([383f241](https://github.com/redturtle/design-comuni-plone-theme/commit/383f241ece965ba13071da4e536907c382279e83))
9
+ * spacing for event-recurrences-more ([#673](https://github.com/redturtle/design-comuni-plone-theme/issues/673)) ([675ba21](https://github.com/redturtle/design-comuni-plone-theme/commit/675ba214a52bae7ea9d947b7d238f1490061cced))
10
+ * tipologia evento shown in page ([#670](https://github.com/redturtle/design-comuni-plone-theme/issues/670)) ([13ea54b](https://github.com/redturtle/design-comuni-plone-theme/commit/13ea54bc9aa109738b65ebf775ad1d79c731addd))
11
+
12
+
13
+ ### Documentation
14
+
15
+ * fix release log heading ([5e1dbb9](https://github.com/redturtle/design-comuni-plone-theme/commit/5e1dbb904a1362c5d288df5cf3c75fae374d9203))
16
+ * updated publiccode and release log ([3d9c8e5](https://github.com/redturtle/design-comuni-plone-theme/commit/3d9c8e579fe57eb2ce8db8e880dc6f572a58366e))
17
+
18
+
19
+ ### Maintenance
20
+
21
+ * abbiamo deciso che la cartella deve essere "altri documenti" ([#671](https://github.com/redturtle/design-comuni-plone-theme/issues/671)) ([0dac7db](https://github.com/redturtle/design-comuni-plone-theme/commit/0dac7dbbdd913bb746f18dbab1f3cad6c56fbffc))
22
+ * switch to releasing to npm with github actions ([7781ab0](https://github.com/redturtle/design-comuni-plone-theme/commit/7781ab01d5f19fb2d16ea0d0a8f89752af5fd152))
23
+
3
24
  ## [11.11.0](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.10.2...v11.11.0) (2024-04-29)
4
25
 
5
26
 
package/RELEASE.md CHANGED
@@ -41,7 +41,13 @@
41
41
  - ...
42
42
  -->
43
43
 
44
- # Versione 11.11.0 (29/04/2024)
44
+ ## Versione 11.11.1 (02/05/2024)
45
+
46
+ ### Migliorie
47
+
48
+ - Il campo tipologia è ora mostrato all'interno della pagina del CT Evento, se compilato.
49
+
50
+ ## Versione 11.11.0 (29/04/2024)
45
51
 
46
52
  ### Migliorie
47
53
 
@@ -792,16 +792,16 @@ msgstr ""
792
792
  msgid "altre_modalita_invio"
793
793
  msgstr ""
794
794
 
795
- #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
796
- # defaultMessage: Altri allegati
797
- msgid "altri_allegati"
798
- msgstr ""
799
-
800
795
  #: components/ItaliaTheme/View/ServizioView/ServizioAltriDocumenti
801
796
  # defaultMessage: Documenti
802
797
  msgid "altri_documenti"
803
798
  msgstr ""
804
799
 
800
+ #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
801
+ # defaultMessage: Altri documenti
802
+ msgid "altri_documenti_persona"
803
+ msgstr ""
804
+
805
805
  #: config/Blocks/ListingOptions/cardWithImageTemplate
806
806
  # defaultMessage: Mostra l'immagine per tutti gli elementi
807
807
  msgid "always_show_image"
@@ -3008,7 +3008,7 @@ msgid "rrule_nd"
3008
3008
  msgstr ""
3009
3009
 
3010
3010
  #: overrideTranslations
3011
- # defaultMessage: il
3011
+ # defaultMessage: di
3012
3012
  msgid "rrule_on the"
3013
3013
  msgstr ""
3014
3014
 
@@ -3953,6 +3953,11 @@ msgstr ""
3953
3953
  msgid "tipologia_bando"
3954
3954
  msgstr ""
3955
3955
 
3956
+ #: components/ItaliaTheme/View/EventoView/EventoCosE
3957
+ # defaultMessage: Tipo evento
3958
+ msgid "tipologia_evento"
3959
+ msgstr ""
3960
+
3956
3961
  #: components/ItaliaTheme/View/IncaricoView/IncaricoView
3957
3962
  #: components/ItaliaTheme/View/PersonaView/PersonaRuolo
3958
3963
  # defaultMessage: Tipo di incarico
@@ -777,16 +777,16 @@ msgstr "Other positions"
777
777
  msgid "altre_modalita_invio"
778
778
  msgstr ""
779
779
 
780
- #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
781
- # defaultMessage: Altri allegati
782
- msgid "altri_allegati"
783
- msgstr "Other attachments"
784
-
785
780
  #: components/ItaliaTheme/View/ServizioView/ServizioAltriDocumenti
786
781
  # defaultMessage: Documenti
787
782
  msgid "altri_documenti"
788
783
  msgstr "Other documents"
789
784
 
785
+ #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
786
+ # defaultMessage: Altri documenti
787
+ msgid "altri_documenti_persona"
788
+ msgstr "Other documents"
789
+
790
790
  #: config/Blocks/ListingOptions/cardWithImageTemplate
791
791
  # defaultMessage: Mostra l'immagine per tutti gli elementi
792
792
  msgid "always_show_image"
@@ -2993,7 +2993,7 @@ msgid "rrule_nd"
2993
2993
  msgstr "nd"
2994
2994
 
2995
2995
  #: overrideTranslations
2996
- # defaultMessage: il
2996
+ # defaultMessage: di
2997
2997
  msgid "rrule_on the"
2998
2998
  msgstr "on the"
2999
2999
 
@@ -3938,6 +3938,11 @@ msgstr ""
3938
3938
  msgid "tipologia_bando"
3939
3939
  msgstr "Type of call"
3940
3940
 
3941
+ #: components/ItaliaTheme/View/EventoView/EventoCosE
3942
+ # defaultMessage: Tipo evento
3943
+ msgid "tipologia_evento"
3944
+ msgstr "Event type"
3945
+
3941
3946
  #: components/ItaliaTheme/View/IncaricoView/IncaricoView
3942
3947
  #: components/ItaliaTheme/View/PersonaView/PersonaRuolo
3943
3948
  # defaultMessage: Tipo di incarico
@@ -786,16 +786,16 @@ msgstr "Otras posiciones"
786
786
  msgid "altre_modalita_invio"
787
787
  msgstr "Otros métodos de envío"
788
788
 
789
- #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
790
- # defaultMessage: Altri allegati
791
- msgid "altri_allegati"
792
- msgstr ""
793
-
794
789
  #: components/ItaliaTheme/View/ServizioView/ServizioAltriDocumenti
795
790
  # defaultMessage: Documenti
796
791
  msgid "altri_documenti"
797
792
  msgstr "Otros documentos"
798
793
 
794
+ #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
795
+ # defaultMessage: Altri documenti
796
+ msgid "altri_documenti_persona"
797
+ msgstr ""
798
+
799
799
  #: config/Blocks/ListingOptions/cardWithImageTemplate
800
800
  # defaultMessage: Mostra l'immagine per tutti gli elementi
801
801
  msgid "always_show_image"
@@ -3002,7 +3002,7 @@ msgid "rrule_nd"
3002
3002
  msgstr ""
3003
3003
 
3004
3004
  #: overrideTranslations
3005
- # defaultMessage: il
3005
+ # defaultMessage: di
3006
3006
  msgid "rrule_on the"
3007
3007
  msgstr ""
3008
3008
 
@@ -3947,6 +3947,11 @@ msgstr ""
3947
3947
  msgid "tipologia_bando"
3948
3948
  msgstr "Tipo de llamada"
3949
3949
 
3950
+ #: components/ItaliaTheme/View/EventoView/EventoCosE
3951
+ # defaultMessage: Tipo evento
3952
+ msgid "tipologia_evento"
3953
+ msgstr ""
3954
+
3950
3955
  #: components/ItaliaTheme/View/IncaricoView/IncaricoView
3951
3956
  #: components/ItaliaTheme/View/PersonaView/PersonaRuolo
3952
3957
  # defaultMessage: Tipo di incarico
@@ -794,16 +794,16 @@ msgstr "Autres bureaux"
794
794
  msgid "altre_modalita_invio"
795
795
  msgstr ""
796
796
 
797
- #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
798
- # defaultMessage: Altri allegati
799
- msgid "altri_allegati"
800
- msgstr ""
801
-
802
797
  #: components/ItaliaTheme/View/ServizioView/ServizioAltriDocumenti
803
798
  # defaultMessage: Documenti
804
799
  msgid "altri_documenti"
805
800
  msgstr "Autres documents"
806
801
 
802
+ #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
803
+ # defaultMessage: Altri documenti
804
+ msgid "altri_documenti_persona"
805
+ msgstr ""
806
+
807
807
  #: config/Blocks/ListingOptions/cardWithImageTemplate
808
808
  # defaultMessage: Mostra l'immagine per tutti gli elementi
809
809
  msgid "always_show_image"
@@ -3010,7 +3010,7 @@ msgid "rrule_nd"
3010
3010
  msgstr ""
3011
3011
 
3012
3012
  #: overrideTranslations
3013
- # defaultMessage: il
3013
+ # defaultMessage: di
3014
3014
  msgid "rrule_on the"
3015
3015
  msgstr ""
3016
3016
 
@@ -3955,6 +3955,11 @@ msgstr ""
3955
3955
  msgid "tipologia_bando"
3956
3956
  msgstr "Type d'appel"
3957
3957
 
3958
+ #: components/ItaliaTheme/View/EventoView/EventoCosE
3959
+ # defaultMessage: Tipo evento
3960
+ msgid "tipologia_evento"
3961
+ msgstr ""
3962
+
3958
3963
  #: components/ItaliaTheme/View/IncaricoView/IncaricoView
3959
3964
  #: components/ItaliaTheme/View/PersonaView/PersonaRuolo
3960
3965
  # defaultMessage: Tipo di incarico
@@ -777,16 +777,16 @@ msgstr "Altre cariche"
777
777
  msgid "altre_modalita_invio"
778
778
  msgstr "Altre modalità di invio"
779
779
 
780
- #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
781
- # defaultMessage: Altri allegati
782
- msgid "altri_allegati"
783
- msgstr "Altri allegati"
784
-
785
780
  #: components/ItaliaTheme/View/ServizioView/ServizioAltriDocumenti
786
781
  # defaultMessage: Documenti
787
782
  msgid "altri_documenti"
788
783
  msgstr "Documenti"
789
784
 
785
+ #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
786
+ # defaultMessage: Altri documenti
787
+ msgid "altri_documenti_persona"
788
+ msgstr "Altri documenti"
789
+
790
790
  #: config/Blocks/ListingOptions/cardWithImageTemplate
791
791
  # defaultMessage: Mostra l'immagine per tutti gli elementi
792
792
  msgid "always_show_image"
@@ -2993,7 +2993,7 @@ msgid "rrule_nd"
2993
2993
  msgstr " "
2994
2994
 
2995
2995
  #: overrideTranslations
2996
- # defaultMessage: il
2996
+ # defaultMessage: di
2997
2997
  msgid "rrule_on the"
2998
2998
  msgstr "il giorno"
2999
2999
 
@@ -3938,6 +3938,11 @@ msgstr "Impossibile aggiungere un elemento alla timeline senza aver compilato il
3938
3938
  msgid "tipologia_bando"
3939
3939
  msgstr "Tipologia del bando"
3940
3940
 
3941
+ #: components/ItaliaTheme/View/EventoView/EventoCosE
3942
+ # defaultMessage: Tipo evento
3943
+ msgid "tipologia_evento"
3944
+ msgstr ""
3945
+
3941
3946
  #: components/ItaliaTheme/View/IncaricoView/IncaricoView
3942
3947
  #: components/ItaliaTheme/View/PersonaView/PersonaRuolo
3943
3948
  # defaultMessage: Tipo di incarico
package/locales/volto.pot CHANGED
@@ -1,7 +1,7 @@
1
1
  msgid ""
2
2
  msgstr ""
3
3
  "Project-Id-Version: Plone\n"
4
- "POT-Creation-Date: 2024-04-24T09:25:12.565Z\n"
4
+ "POT-Creation-Date: 2024-05-02T09:19:12.781Z\n"
5
5
  "Last-Translator: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
6
6
  "Language-Team: Plone i18n <plone-i18n@lists.sourceforge.net>\n"
7
7
  "MIME-Version: 1.0\n"
@@ -779,16 +779,16 @@ msgstr ""
779
779
  msgid "altre_modalita_invio"
780
780
  msgstr ""
781
781
 
782
- #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
783
- # defaultMessage: Altri allegati
784
- msgid "altri_allegati"
785
- msgstr ""
786
-
787
782
  #: components/ItaliaTheme/View/ServizioView/ServizioAltriDocumenti
788
783
  # defaultMessage: Documenti
789
784
  msgid "altri_documenti"
790
785
  msgstr ""
791
786
 
787
+ #: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
788
+ # defaultMessage: Altri documenti
789
+ msgid "altri_documenti_persona"
790
+ msgstr ""
791
+
792
792
  #: config/Blocks/ListingOptions/cardWithImageTemplate
793
793
  # defaultMessage: Mostra l'immagine per tutti gli elementi
794
794
  msgid "always_show_image"
@@ -2995,7 +2995,7 @@ msgid "rrule_nd"
2995
2995
  msgstr ""
2996
2996
 
2997
2997
  #: overrideTranslations
2998
- # defaultMessage: il
2998
+ # defaultMessage: di
2999
2999
  msgid "rrule_on the"
3000
3000
  msgstr ""
3001
3001
 
@@ -3940,6 +3940,11 @@ msgstr ""
3940
3940
  msgid "tipologia_bando"
3941
3941
  msgstr ""
3942
3942
 
3943
+ #: components/ItaliaTheme/View/EventoView/EventoCosE
3944
+ # defaultMessage: Tipo evento
3945
+ msgid "tipologia_evento"
3946
+ msgstr ""
3947
+
3943
3948
  #: components/ItaliaTheme/View/IncaricoView/IncaricoView
3944
3949
  #: components/ItaliaTheme/View/PersonaView/PersonaRuolo
3945
3950
  # defaultMessage: Tipo di incarico
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "design-comuni-plone-theme",
3
3
  "description": "Volto Theme for Italia design guidelines",
4
4
  "license": "GPL-v3",
5
- "version": "11.11.0",
5
+ "version": "11.11.1",
6
6
  "main": "src/index.js",
7
7
  "keywords": [
8
8
  "volto-addon",
package/publiccode.yml CHANGED
@@ -227,9 +227,9 @@ maintenance:
227
227
  name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
228
228
  platforms:
229
229
  - web
230
- releaseDate: '2024-04-29'
230
+ releaseDate: '2024-05-02'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.11.0
232
+ softwareVersion: 11.11.1
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -32,6 +32,10 @@ const messages = defineMessages({
32
32
  id: 'parteciperanno',
33
33
  defaultMessage: 'Parteciperanno',
34
34
  },
35
+ tipologia_evento: {
36
+ id: 'tipologia_evento',
37
+ defaultMessage: 'Tipo evento',
38
+ },
35
39
  });
36
40
 
37
41
  const EventoCosE = ({ content }) => {
@@ -41,7 +45,8 @@ const EventoCosE = ({ content }) => {
41
45
  contentFolderHasItems(content, 'immagini') ||
42
46
  contentFolderHasItems(content, 'video') ||
43
47
  content?.persone_amministrazione?.length > 0 ||
44
- richTextHasContent(content?.descrizione_destinatari) ? (
48
+ richTextHasContent(content?.descrizione_destinatari) ||
49
+ content?.tipologia_evento ? (
45
50
  <RichTextSection
46
51
  tag_id={'text-body'}
47
52
  title={intl.formatMessage(messages.cos_e)}
@@ -79,7 +84,6 @@ const EventoCosE = ({ content }) => {
79
84
  className="mt-4 pb-4"
80
85
  />
81
86
  <Gallery content={content} folder_name={'video'} />
82
-
83
87
  {richTextHasContent(content?.descrizione_destinatari) && (
84
88
  <div className="mb-5 pt-2">
85
89
  <RichText
@@ -88,6 +92,17 @@ const EventoCosE = ({ content }) => {
88
92
  />
89
93
  </div>
90
94
  )}
95
+
96
+ {content?.tipologia_evento && (
97
+ <div className="mb-5 pt-2">
98
+ <h3 className="tipologia-section h5">
99
+ {intl.formatMessage(messages.tipologia_evento)}
100
+ </h3>
101
+ <p key={content?.tipologia_evento?.token} className="font-serif">
102
+ {content?.tipologia_evento?.title}
103
+ </p>
104
+ </div>
105
+ )}
91
106
  </RichTextSection>
92
107
  ) : (
93
108
  <></>
@@ -49,9 +49,9 @@ const messages = defineMessages({
49
49
  defaultMessage: 'Variazione situazione patrimoniale',
50
50
  },
51
51
 
52
- altri_allegati: {
53
- id: 'altri_allegati',
54
- defaultMessage: 'Altri allegati',
52
+ altri_documenti_persona: {
53
+ id: 'altri_documenti_persona',
54
+ defaultMessage: 'Altri documenti',
55
55
  },
56
56
  });
57
57
 
@@ -192,15 +192,15 @@ const PersonaDocumenti = ({ content }) => {
192
192
  />
193
193
  </RichTextSection>
194
194
  )}
195
- {contentFolderHasItems(content, 'altri-allegati') && (
195
+ {contentFolderHasItems(content, 'altri-documenti') && (
196
196
  <RichTextSection
197
- tag_id="documenti-altri-allegati"
198
- title={intl.formatMessage(messages.altri_allegati)}
197
+ tag_id="documenti-altri-documenti"
198
+ title={intl.formatMessage(messages.altri_documenti_persona)}
199
199
  >
200
200
  <Attachments
201
201
  content={content}
202
- folder_name={'altri-allegati'}
203
- // title={intl.formatMessage(messages.altri_allegati)}
202
+ folder_name={'altri-documenti'}
203
+ // title={intl.formatMessage(messages.altri_documenti_persona)}
204
204
  as_section={false}
205
205
  />
206
206
  </RichTextSection>
@@ -23,7 +23,7 @@ defineMessages({
23
23
  },
24
24
  rrule_on_the: {
25
25
  id: 'rrule_on the',
26
- defaultMessage: 'il',
26
+ defaultMessage: 'di',
27
27
  },
28
28
  weekdays: {
29
29
  id: 'rrule_weekdays',
@@ -9,9 +9,6 @@
9
9
  }
10
10
 
11
11
  .event-recurrences-more {
12
- position: absolute;
13
- bottom: $v-gap * 8;
14
-
15
12
  display: flex;
16
13
  align-items: center;
17
14
  color: $body-color;
@@ -22,4 +22,8 @@ body.contenttype-event {
22
22
  }
23
23
  }
24
24
  }
25
+
26
+ &.cms-ui .ui.button {
27
+ padding: 0px;
28
+ }
25
29
  }