Skip to content

Commit

Permalink
feat: added image size and colorListWidget in Alert block (#396)
Browse files Browse the repository at this point in the history
* feat: added image size and colorListWidget in Alert block

* chore: updated release.md

* fix: fixed bg_color in unit test

---------

Co-authored-by: Piero Nicolli <[email protected]>
  • Loading branch information
SaraBianchi and pnicolli authored Nov 9, 2023
1 parent 9356e6a commit 63f3b5b
Show file tree
Hide file tree
Showing 14 changed files with 213 additions and 240 deletions.
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,12 @@
- ...
-->

## Versione X.X.X (dd/mm/yyyy)

### Novità

- Aggiunta la possibilità di selezionare la dimensione dell'immagine nel blocco Alert, inoltre è stato aggiornato anche il widget per la selezione del colore di sfondo.

## Versione 10.3.0 (08/11/2023)

### Fix
Expand Down
31 changes: 16 additions & 15 deletions locales/de/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ msgstr ""
msgid "CardImageRight"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
#: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar
# defaultMessage: Dimensione immagine
msgid "CardImageSize"
Expand Down Expand Up @@ -133,21 +134,6 @@ msgstr ""
msgid "Color"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "Color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "Color_warning"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "Color_warning_orange"
msgstr ""

#: components/ItaliaTheme/View/EventoView/EventoContatti
# defaultMessage: Contatti
msgid "Contatti"
Expand Down Expand Up @@ -1217,6 +1203,16 @@ msgstr ""
msgid "codice_ipa"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "color_orange"
msgstr ""

#: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar
#: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar
# defaultMessage: Primario
Expand All @@ -1228,6 +1224,11 @@ msgstr ""
msgid "color_transparent"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "color_warning"
msgstr ""

#: components/ItaliaTheme/View/IncaricoView/IncaricoView
#: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
Expand Down
31 changes: 16 additions & 15 deletions locales/en/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ msgstr "Show"
msgid "CardImageRight"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
#: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar
# defaultMessage: Dimensione immagine
msgid "CardImageSize"
Expand Down Expand Up @@ -118,21 +119,6 @@ msgstr "Click here to replace file"
msgid "Color"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "Color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "Color_warning"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "Color_warning_orange"
msgstr ""

#: components/ItaliaTheme/View/EventoView/EventoContatti
# defaultMessage: Contatti
msgid "Contatti"
Expand Down Expand Up @@ -1202,6 +1188,16 @@ msgstr "Close search"
msgid "codice_ipa"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "color_orange"
msgstr ""

#: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar
#: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar
# defaultMessage: Primario
Expand All @@ -1213,6 +1209,11 @@ msgstr ""
msgid "color_transparent"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "color_warning"
msgstr ""

#: components/ItaliaTheme/View/IncaricoView/IncaricoView
#: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
Expand Down
31 changes: 16 additions & 15 deletions locales/es/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ msgstr "Ver"
msgid "CardImageRight"
msgstr "Alinear imagen a la derecha"

#: components/ItaliaTheme/Blocks/Alert/Sidebar
#: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar
# defaultMessage: Dimensione immagine
msgid "CardImageSize"
Expand Down Expand Up @@ -127,21 +128,6 @@ msgstr "Haga clic aquí para reemplazar el archivo"
msgid "Color"
msgstr "Color"

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "Color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "Color_warning"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "Color_warning_orange"
msgstr ""

#: components/ItaliaTheme/View/EventoView/EventoContatti
# defaultMessage: Contatti
msgid "Contatti"
Expand Down Expand Up @@ -1211,6 +1197,16 @@ msgstr "Cerrar búsqueda"
msgid "codice_ipa"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "color_orange"
msgstr ""

#: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar
#: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar
# defaultMessage: Primario
Expand All @@ -1222,6 +1218,11 @@ msgstr "Primario"
msgid "color_transparent"
msgstr "Transparente"

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "color_warning"
msgstr ""

#: components/ItaliaTheme/View/IncaricoView/IncaricoView
#: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
Expand Down
31 changes: 16 additions & 15 deletions locales/fr/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ msgstr "Voir"
msgid "CardImageRight"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
#: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar
# defaultMessage: Dimensione immagine
msgid "CardImageSize"
Expand Down Expand Up @@ -135,21 +136,6 @@ msgstr "Cliquez ici pour remplacer le fichier"
msgid "Color"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "Color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "Color_warning"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "Color_warning_orange"
msgstr ""

#: components/ItaliaTheme/View/EventoView/EventoContatti
# defaultMessage: Contatti
msgid "Contatti"
Expand Down Expand Up @@ -1219,6 +1205,16 @@ msgstr "Fermer la recherche"
msgid "codice_ipa"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "color_orange"
msgstr ""

#: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar
#: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar
# defaultMessage: Primario
Expand All @@ -1230,6 +1226,11 @@ msgstr ""
msgid "color_transparent"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "color_warning"
msgstr ""

#: components/ItaliaTheme/View/IncaricoView/IncaricoView
#: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
Expand Down
31 changes: 16 additions & 15 deletions locales/it/LC_MESSAGES/volto.po
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ msgstr "Vedi"
msgid "CardImageRight"
msgstr "Allinea immagine a destra"

#: components/ItaliaTheme/Blocks/Alert/Sidebar
#: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar
# defaultMessage: Dimensione immagine
msgid "CardImageSize"
Expand Down Expand Up @@ -118,21 +119,6 @@ msgstr "Clicca qui per sostituire il file"
msgid "Color"
msgstr "Colore"

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "Color_danger"
msgstr "Rosso"

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "Color_warning"
msgstr "Giallo"

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "Color_warning_orange"
msgstr "Arancione"

#: components/ItaliaTheme/View/EventoView/EventoContatti
# defaultMessage: Contatti
msgid "Contatti"
Expand Down Expand Up @@ -1202,6 +1188,16 @@ msgstr "Chiudi ricerca"
msgid "codice_ipa"
msgstr "Codice dell'ente erogatore (ipa)"

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "color_orange"
msgstr ""

#: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar
#: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar
# defaultMessage: Primario
Expand All @@ -1213,6 +1209,11 @@ msgstr "Colore primario"
msgid "color_transparent"
msgstr "Trasparente"

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "color_warning"
msgstr ""

#: components/ItaliaTheme/View/IncaricoView/IncaricoView
#: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
Expand Down
33 changes: 17 additions & 16 deletions locales/volto.pot
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
msgid ""
msgstr ""
"Project-Id-Version: Plone\n"
"POT-Creation-Date: 2023-11-07T16:35:33.634Z\n"
"POT-Creation-Date: 2023-11-08T17:11:37.097Z\n"
"Last-Translator: Plone i18n <[email protected]>\n"
"Language-Team: Plone i18n <[email protected]>\n"
"MIME-Version: 1.0\n"
Expand Down Expand Up @@ -73,6 +73,7 @@ msgstr ""
msgid "CardImageRight"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
#: components/ItaliaTheme/Blocks/TextCard/CardWithImage/Sidebar
# defaultMessage: Dimensione immagine
msgid "CardImageSize"
Expand Down Expand Up @@ -120,21 +121,6 @@ msgstr ""
msgid "Color"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "Color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "Color_warning"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "Color_warning_orange"
msgstr ""

#: components/ItaliaTheme/View/EventoView/EventoContatti
# defaultMessage: Contatti
msgid "Contatti"
Expand Down Expand Up @@ -1204,6 +1190,16 @@ msgstr ""
msgid "codice_ipa"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Rosso
msgid "color_danger"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Arancione
msgid "color_orange"
msgstr ""

#: components/ItaliaTheme/Blocks/ContactsBlock/Sidebar
#: components/ItaliaTheme/Blocks/HighlightedContent/Sidebar
# defaultMessage: Primario
Expand All @@ -1215,6 +1211,11 @@ msgstr ""
msgid "color_transparent"
msgstr ""

#: components/ItaliaTheme/Blocks/Alert/Sidebar
# defaultMessage: Giallo
msgid "color_warning"
msgstr ""

#: components/ItaliaTheme/View/IncaricoView/IncaricoView
#: components/ItaliaTheme/View/PersonaView/PersonaDocumenti
#: components/ItaliaTheme/View/PersonaView/PersonaRuolo
Expand Down
Loading

0 comments on commit 63f3b5b

Please sign in to comment.