io-sanita-theme 2.28.1 → 2.29.0
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.
- package/CHANGELOG.md +21 -0
- package/RELEASE.md +6 -0
- package/locales/de/LC_MESSAGES/volto.po +7 -12
- package/locales/en/LC_MESSAGES/volto.po +7 -12
- package/locales/es/LC_MESSAGES/volto.po +7 -12
- package/locales/fr/LC_MESSAGES/volto.po +7 -12
- package/locales/it/LC_MESSAGES/volto.po +7 -12
- package/locales/volto.pot +8 -13
- package/package.json +2 -2
- package/src/components/Blocks/SearchServiziProcedure/Body.jsx +8 -0
- package/src/components/View/Persona/PersonaContatti.jsx +35 -16
- package/src/components/View/Struttura/StrutturaDateOrari.jsx +1 -6
- package/src/components/View/UOView/UODateOrari.jsx +2 -7
- package/src/theme/io-sanita/components/view/_personaview.scss +7 -0
- package/src/theme/main.scss +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.29.0](https://github.com/RedTurtle/io-sanita-theme/compare/2.28.2...2.29.0) (2026-05-21)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* added text block in contact section inside CT Person to add contact info ([#140](https://github.com/RedTurtle/io-sanita-theme/issues/140)) ([8d261e8](https://github.com/RedTurtle/io-sanita-theme/commit/8d261e8c027e284b4c060a30391dcc769af3d23d))
|
|
8
|
+
* cambiato blocco orari in strutture/uo, rivisto titolo, rimosso sottotilo ([#141](https://github.com/RedTurtle/io-sanita-theme/issues/141)) ([df92ec7](https://github.com/RedTurtle/io-sanita-theme/commit/df92ec76cc580c2d951de996c75a850419d8c801))
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* listen to path when searching servizi o procedure ([#139](https://github.com/RedTurtle/io-sanita-theme/issues/139)) ([e9b6135](https://github.com/RedTurtle/io-sanita-theme/commit/e9b6135b398d57551cf1a49e4ca7969e9f723b1c))
|
|
13
|
+
|
|
14
|
+
### Maintenance
|
|
15
|
+
|
|
16
|
+
* update po ([67e8668](https://github.com/RedTurtle/io-sanita-theme/commit/67e86683f8a7ffc5d796df835871b66983c7fdec))
|
|
17
|
+
|
|
18
|
+
## [2.28.2](https://github.com/RedTurtle/io-sanita-theme/compare/2.28.1...2.28.2) (2026-05-06)
|
|
19
|
+
|
|
20
|
+
### Maintenance
|
|
21
|
+
|
|
22
|
+
* updated volto-form-block-italia to 1.1.2 ([#137](https://github.com/RedTurtle/io-sanita-theme/issues/137)) ([a387650](https://github.com/RedTurtle/io-sanita-theme/commit/a3876503eb63be939517249585d4313a41615d46))
|
|
23
|
+
|
|
3
24
|
## [2.28.1](https://github.com/RedTurtle/io-sanita-theme/compare/2.28.0...2.28.1) (2026-05-06)
|
|
4
25
|
|
|
5
26
|
### Maintenance
|
package/RELEASE.md
CHANGED
|
@@ -41,6 +41,12 @@
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
43
|
|
|
44
|
+
## Versione X.X.X (dd/mm/yyyy)
|
|
45
|
+
|
|
46
|
+
### Fix
|
|
47
|
+
|
|
48
|
+
- Sistemato il blocco "Cerca servizi e procedure" in modo tale che consideri il path all'interno del quale fare la ricerca.
|
|
49
|
+
|
|
44
50
|
## Versione 2.28.0 (05/05/2026)
|
|
45
51
|
|
|
46
52
|
### Migliorie
|
|
@@ -2570,6 +2570,11 @@ msgstr ""
|
|
|
2570
2570
|
msgid "persona_gallery"
|
|
2571
2571
|
msgstr ""
|
|
2572
2572
|
|
|
2573
|
+
#. Default: "Informazioni di contatto"
|
|
2574
|
+
#: components/View/Persona/PersonaContatti
|
|
2575
|
+
msgid "persona_informazioni_contatto"
|
|
2576
|
+
msgstr ""
|
|
2577
|
+
|
|
2573
2578
|
#. Default: "Orari di ricevimento"
|
|
2574
2579
|
#: components/View/Persona/PersonaOrariRicevimento
|
|
2575
2580
|
msgid "persona_orari_ricevimento"
|
|
@@ -3896,7 +3901,7 @@ msgstr ""
|
|
|
3896
3901
|
msgid "struttura_cos_e"
|
|
3897
3902
|
msgstr ""
|
|
3898
3903
|
|
|
3899
|
-
#. Default: "
|
|
3904
|
+
#. Default: "Orari di apertura"
|
|
3900
3905
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3901
3906
|
msgid "struttura_date_e_orari"
|
|
3902
3907
|
msgstr ""
|
|
@@ -3911,11 +3916,6 @@ msgstr ""
|
|
|
3911
3916
|
msgid "struttura_gallery"
|
|
3912
3917
|
msgstr ""
|
|
3913
3918
|
|
|
3914
|
-
#. Default: "Orari"
|
|
3915
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3916
|
-
msgid "struttura_orari"
|
|
3917
|
-
msgstr ""
|
|
3918
|
-
|
|
3919
3919
|
#. Default: "Personale della struttura"
|
|
3920
3920
|
#: components/View/Struttura/StrutturaPersonale
|
|
3921
3921
|
msgid "struttura_personale"
|
|
@@ -4107,7 +4107,7 @@ msgstr ""
|
|
|
4107
4107
|
msgid "uo_contatti"
|
|
4108
4108
|
msgstr ""
|
|
4109
4109
|
|
|
4110
|
-
#. Default: "
|
|
4110
|
+
#. Default: "Orari di apertura"
|
|
4111
4111
|
#: components/View/UOView/UODateOrari
|
|
4112
4112
|
msgid "uo_date_e_orari"
|
|
4113
4113
|
msgstr ""
|
|
@@ -4127,11 +4127,6 @@ msgstr ""
|
|
|
4127
4127
|
msgid "uo_fa_parte_di"
|
|
4128
4128
|
msgstr ""
|
|
4129
4129
|
|
|
4130
|
-
#. Default: "Orari"
|
|
4131
|
-
#: components/View/UOView/UODateOrari
|
|
4132
|
-
msgid "uo_orari"
|
|
4133
|
-
msgstr ""
|
|
4134
|
-
|
|
4135
4130
|
#. Default: "Personale"
|
|
4136
4131
|
#: components/View/UOView/UOPersonale
|
|
4137
4132
|
msgid "uo_personale"
|
|
@@ -2565,6 +2565,11 @@ msgstr "Where"
|
|
|
2565
2565
|
msgid "persona_gallery"
|
|
2566
2566
|
msgstr "Gallery"
|
|
2567
2567
|
|
|
2568
|
+
#. Default: "Informazioni di contatto"
|
|
2569
|
+
#: components/View/Persona/PersonaContatti
|
|
2570
|
+
msgid "persona_informazioni_contatto"
|
|
2571
|
+
msgstr ""
|
|
2572
|
+
|
|
2568
2573
|
#. Default: "Orari di ricevimento"
|
|
2569
2574
|
#: components/View/Persona/PersonaOrariRicevimento
|
|
2570
2575
|
msgid "persona_orari_ricevimento"
|
|
@@ -3891,7 +3896,7 @@ msgstr "Related structures"
|
|
|
3891
3896
|
msgid "struttura_cos_e"
|
|
3892
3897
|
msgstr "What is it"
|
|
3893
3898
|
|
|
3894
|
-
#. Default: "
|
|
3899
|
+
#. Default: "Orari di apertura"
|
|
3895
3900
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3896
3901
|
msgid "struttura_date_e_orari"
|
|
3897
3902
|
msgstr "Dates and times"
|
|
@@ -3906,11 +3911,6 @@ msgstr "Where"
|
|
|
3906
3911
|
msgid "struttura_gallery"
|
|
3907
3912
|
msgstr "Gallery"
|
|
3908
3913
|
|
|
3909
|
-
#. Default: "Orari"
|
|
3910
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3911
|
-
msgid "struttura_orari"
|
|
3912
|
-
msgstr "Times"
|
|
3913
|
-
|
|
3914
3914
|
#. Default: "Personale della struttura"
|
|
3915
3915
|
#: components/View/Struttura/StrutturaPersonale
|
|
3916
3916
|
msgid "struttura_personale"
|
|
@@ -4102,7 +4102,7 @@ msgstr "Skills"
|
|
|
4102
4102
|
msgid "uo_contatti"
|
|
4103
4103
|
msgstr "Contacts"
|
|
4104
4104
|
|
|
4105
|
-
#. Default: "
|
|
4105
|
+
#. Default: "Orari di apertura"
|
|
4106
4106
|
#: components/View/UOView/UODateOrari
|
|
4107
4107
|
msgid "uo_date_e_orari"
|
|
4108
4108
|
msgstr "Dates and times"
|
|
@@ -4122,11 +4122,6 @@ msgstr "Where"
|
|
|
4122
4122
|
msgid "uo_fa_parte_di"
|
|
4123
4123
|
msgstr "Part of"
|
|
4124
4124
|
|
|
4125
|
-
#. Default: "Orari"
|
|
4126
|
-
#: components/View/UOView/UODateOrari
|
|
4127
|
-
msgid "uo_orari"
|
|
4128
|
-
msgstr "Times"
|
|
4129
|
-
|
|
4130
4125
|
#. Default: "Personale"
|
|
4131
4126
|
#: components/View/UOView/UOPersonale
|
|
4132
4127
|
msgid "uo_personale"
|
|
@@ -2572,6 +2572,11 @@ msgstr ""
|
|
|
2572
2572
|
msgid "persona_gallery"
|
|
2573
2573
|
msgstr ""
|
|
2574
2574
|
|
|
2575
|
+
#. Default: "Informazioni di contatto"
|
|
2576
|
+
#: components/View/Persona/PersonaContatti
|
|
2577
|
+
msgid "persona_informazioni_contatto"
|
|
2578
|
+
msgstr ""
|
|
2579
|
+
|
|
2575
2580
|
#. Default: "Orari di ricevimento"
|
|
2576
2581
|
#: components/View/Persona/PersonaOrariRicevimento
|
|
2577
2582
|
msgid "persona_orari_ricevimento"
|
|
@@ -3898,7 +3903,7 @@ msgstr ""
|
|
|
3898
3903
|
msgid "struttura_cos_e"
|
|
3899
3904
|
msgstr ""
|
|
3900
3905
|
|
|
3901
|
-
#. Default: "
|
|
3906
|
+
#. Default: "Orari di apertura"
|
|
3902
3907
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3903
3908
|
msgid "struttura_date_e_orari"
|
|
3904
3909
|
msgstr ""
|
|
@@ -3913,11 +3918,6 @@ msgstr ""
|
|
|
3913
3918
|
msgid "struttura_gallery"
|
|
3914
3919
|
msgstr ""
|
|
3915
3920
|
|
|
3916
|
-
#. Default: "Orari"
|
|
3917
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3918
|
-
msgid "struttura_orari"
|
|
3919
|
-
msgstr ""
|
|
3920
|
-
|
|
3921
3921
|
#. Default: "Personale della struttura"
|
|
3922
3922
|
#: components/View/Struttura/StrutturaPersonale
|
|
3923
3923
|
msgid "struttura_personale"
|
|
@@ -4109,7 +4109,7 @@ msgstr ""
|
|
|
4109
4109
|
msgid "uo_contatti"
|
|
4110
4110
|
msgstr ""
|
|
4111
4111
|
|
|
4112
|
-
#. Default: "
|
|
4112
|
+
#. Default: "Orari di apertura"
|
|
4113
4113
|
#: components/View/UOView/UODateOrari
|
|
4114
4114
|
msgid "uo_date_e_orari"
|
|
4115
4115
|
msgstr ""
|
|
@@ -4129,11 +4129,6 @@ msgstr ""
|
|
|
4129
4129
|
msgid "uo_fa_parte_di"
|
|
4130
4130
|
msgstr ""
|
|
4131
4131
|
|
|
4132
|
-
#. Default: "Orari"
|
|
4133
|
-
#: components/View/UOView/UODateOrari
|
|
4134
|
-
msgid "uo_orari"
|
|
4135
|
-
msgstr ""
|
|
4136
|
-
|
|
4137
4132
|
#. Default: "Personale"
|
|
4138
4133
|
#: components/View/UOView/UOPersonale
|
|
4139
4134
|
msgid "uo_personale"
|
|
@@ -2572,6 +2572,11 @@ msgstr ""
|
|
|
2572
2572
|
msgid "persona_gallery"
|
|
2573
2573
|
msgstr ""
|
|
2574
2574
|
|
|
2575
|
+
#. Default: "Informazioni di contatto"
|
|
2576
|
+
#: components/View/Persona/PersonaContatti
|
|
2577
|
+
msgid "persona_informazioni_contatto"
|
|
2578
|
+
msgstr ""
|
|
2579
|
+
|
|
2575
2580
|
#. Default: "Orari di ricevimento"
|
|
2576
2581
|
#: components/View/Persona/PersonaOrariRicevimento
|
|
2577
2582
|
msgid "persona_orari_ricevimento"
|
|
@@ -3898,7 +3903,7 @@ msgstr ""
|
|
|
3898
3903
|
msgid "struttura_cos_e"
|
|
3899
3904
|
msgstr ""
|
|
3900
3905
|
|
|
3901
|
-
#. Default: "
|
|
3906
|
+
#. Default: "Orari di apertura"
|
|
3902
3907
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3903
3908
|
msgid "struttura_date_e_orari"
|
|
3904
3909
|
msgstr ""
|
|
@@ -3913,11 +3918,6 @@ msgstr ""
|
|
|
3913
3918
|
msgid "struttura_gallery"
|
|
3914
3919
|
msgstr ""
|
|
3915
3920
|
|
|
3916
|
-
#. Default: "Orari"
|
|
3917
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3918
|
-
msgid "struttura_orari"
|
|
3919
|
-
msgstr ""
|
|
3920
|
-
|
|
3921
3921
|
#. Default: "Personale della struttura"
|
|
3922
3922
|
#: components/View/Struttura/StrutturaPersonale
|
|
3923
3923
|
msgid "struttura_personale"
|
|
@@ -4109,7 +4109,7 @@ msgstr ""
|
|
|
4109
4109
|
msgid "uo_contatti"
|
|
4110
4110
|
msgstr ""
|
|
4111
4111
|
|
|
4112
|
-
#. Default: "
|
|
4112
|
+
#. Default: "Orari di apertura"
|
|
4113
4113
|
#: components/View/UOView/UODateOrari
|
|
4114
4114
|
msgid "uo_date_e_orari"
|
|
4115
4115
|
msgstr ""
|
|
@@ -4129,11 +4129,6 @@ msgstr ""
|
|
|
4129
4129
|
msgid "uo_fa_parte_di"
|
|
4130
4130
|
msgstr ""
|
|
4131
4131
|
|
|
4132
|
-
#. Default: "Orari"
|
|
4133
|
-
#: components/View/UOView/UODateOrari
|
|
4134
|
-
msgid "uo_orari"
|
|
4135
|
-
msgstr ""
|
|
4136
|
-
|
|
4137
4132
|
#. Default: "Personale"
|
|
4138
4133
|
#: components/View/UOView/UOPersonale
|
|
4139
4134
|
msgid "uo_personale"
|
|
@@ -2565,6 +2565,11 @@ msgstr ""
|
|
|
2565
2565
|
msgid "persona_gallery"
|
|
2566
2566
|
msgstr ""
|
|
2567
2567
|
|
|
2568
|
+
#. Default: "Informazioni di contatto"
|
|
2569
|
+
#: components/View/Persona/PersonaContatti
|
|
2570
|
+
msgid "persona_informazioni_contatto"
|
|
2571
|
+
msgstr ""
|
|
2572
|
+
|
|
2568
2573
|
#. Default: "Orari di ricevimento"
|
|
2569
2574
|
#: components/View/Persona/PersonaOrariRicevimento
|
|
2570
2575
|
msgid "persona_orari_ricevimento"
|
|
@@ -3891,7 +3896,7 @@ msgstr ""
|
|
|
3891
3896
|
msgid "struttura_cos_e"
|
|
3892
3897
|
msgstr ""
|
|
3893
3898
|
|
|
3894
|
-
#. Default: "
|
|
3899
|
+
#. Default: "Orari di apertura"
|
|
3895
3900
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3896
3901
|
msgid "struttura_date_e_orari"
|
|
3897
3902
|
msgstr ""
|
|
@@ -3906,11 +3911,6 @@ msgstr ""
|
|
|
3906
3911
|
msgid "struttura_gallery"
|
|
3907
3912
|
msgstr ""
|
|
3908
3913
|
|
|
3909
|
-
#. Default: "Orari"
|
|
3910
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3911
|
-
msgid "struttura_orari"
|
|
3912
|
-
msgstr ""
|
|
3913
|
-
|
|
3914
3914
|
#. Default: "Personale della struttura"
|
|
3915
3915
|
#: components/View/Struttura/StrutturaPersonale
|
|
3916
3916
|
msgid "struttura_personale"
|
|
@@ -4102,7 +4102,7 @@ msgstr ""
|
|
|
4102
4102
|
msgid "uo_contatti"
|
|
4103
4103
|
msgstr ""
|
|
4104
4104
|
|
|
4105
|
-
#. Default: "
|
|
4105
|
+
#. Default: "Orari di apertura"
|
|
4106
4106
|
#: components/View/UOView/UODateOrari
|
|
4107
4107
|
msgid "uo_date_e_orari"
|
|
4108
4108
|
msgstr ""
|
|
@@ -4122,11 +4122,6 @@ msgstr ""
|
|
|
4122
4122
|
msgid "uo_fa_parte_di"
|
|
4123
4123
|
msgstr ""
|
|
4124
4124
|
|
|
4125
|
-
#. Default: "Orari"
|
|
4126
|
-
#: components/View/UOView/UODateOrari
|
|
4127
|
-
msgid "uo_orari"
|
|
4128
|
-
msgstr ""
|
|
4129
|
-
|
|
4130
4125
|
#. Default: "Personale"
|
|
4131
4126
|
#: components/View/UOView/UOPersonale
|
|
4132
4127
|
msgid "uo_personale"
|
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: 2026-
|
|
4
|
+
"POT-Creation-Date: 2026-05-21T07:35:08.783Z\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
|
"Content-Type: text/plain; charset=utf-8\n"
|
|
@@ -2567,6 +2567,11 @@ msgstr ""
|
|
|
2567
2567
|
msgid "persona_gallery"
|
|
2568
2568
|
msgstr ""
|
|
2569
2569
|
|
|
2570
|
+
#. Default: "Informazioni di contatto"
|
|
2571
|
+
#: components/View/Persona/PersonaContatti
|
|
2572
|
+
msgid "persona_informazioni_contatto"
|
|
2573
|
+
msgstr ""
|
|
2574
|
+
|
|
2570
2575
|
#. Default: "Orari di ricevimento"
|
|
2571
2576
|
#: components/View/Persona/PersonaOrariRicevimento
|
|
2572
2577
|
msgid "persona_orari_ricevimento"
|
|
@@ -3893,7 +3898,7 @@ msgstr ""
|
|
|
3893
3898
|
msgid "struttura_cos_e"
|
|
3894
3899
|
msgstr ""
|
|
3895
3900
|
|
|
3896
|
-
#. Default: "
|
|
3901
|
+
#. Default: "Orari di apertura"
|
|
3897
3902
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3898
3903
|
msgid "struttura_date_e_orari"
|
|
3899
3904
|
msgstr ""
|
|
@@ -3908,11 +3913,6 @@ msgstr ""
|
|
|
3908
3913
|
msgid "struttura_gallery"
|
|
3909
3914
|
msgstr ""
|
|
3910
3915
|
|
|
3911
|
-
#. Default: "Orari"
|
|
3912
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3913
|
-
msgid "struttura_orari"
|
|
3914
|
-
msgstr ""
|
|
3915
|
-
|
|
3916
3916
|
#. Default: "Personale della struttura"
|
|
3917
3917
|
#: components/View/Struttura/StrutturaPersonale
|
|
3918
3918
|
msgid "struttura_personale"
|
|
@@ -4104,7 +4104,7 @@ msgstr ""
|
|
|
4104
4104
|
msgid "uo_contatti"
|
|
4105
4105
|
msgstr ""
|
|
4106
4106
|
|
|
4107
|
-
#. Default: "
|
|
4107
|
+
#. Default: "Orari di apertura"
|
|
4108
4108
|
#: components/View/UOView/UODateOrari
|
|
4109
4109
|
msgid "uo_date_e_orari"
|
|
4110
4110
|
msgstr ""
|
|
@@ -4124,11 +4124,6 @@ msgstr ""
|
|
|
4124
4124
|
msgid "uo_fa_parte_di"
|
|
4125
4125
|
msgstr ""
|
|
4126
4126
|
|
|
4127
|
-
#. Default: "Orari"
|
|
4128
|
-
#: components/View/UOView/UODateOrari
|
|
4129
|
-
msgid "uo_orari"
|
|
4130
|
-
msgstr ""
|
|
4131
|
-
|
|
4132
4127
|
#. Default: "Personale"
|
|
4133
4128
|
#: components/View/UOView/UOPersonale
|
|
4134
4129
|
msgid "uo_personale"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "io-sanita-theme",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.29.0",
|
|
4
4
|
"description": "io-sanita-theme: Volto add-on",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"license": "MIT",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"volto-editablefooter": "5.1.9",
|
|
104
104
|
"volto-feedback": "0.6.2",
|
|
105
105
|
"volto-feedback-italia": "1.0.8",
|
|
106
|
-
"volto-form-block-italia": "1.1.
|
|
106
|
+
"volto-form-block-italia": "1.1.2",
|
|
107
107
|
"volto-gdpr-privacy": "2.2.15",
|
|
108
108
|
"volto-querywidget-with-browser": "0.4.3",
|
|
109
109
|
"volto-repeatable-content-block": "1.5.0",
|
|
@@ -118,6 +118,14 @@ const Body = ({ data, id, path, properties, inEditMode }) => {
|
|
|
118
118
|
},
|
|
119
119
|
];
|
|
120
120
|
|
|
121
|
+
if (data.path && data.path[0]) {
|
|
122
|
+
query.push({
|
|
123
|
+
i: 'path',
|
|
124
|
+
o: 'plone.app.querystring.operation.string.absolutePath',
|
|
125
|
+
v: flattenToAppURL(data.path[0]['@id']),
|
|
126
|
+
});
|
|
127
|
+
}
|
|
128
|
+
|
|
121
129
|
// user filters
|
|
122
130
|
if (filters.searchableText?.length > 0) {
|
|
123
131
|
query.push({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import PropTypes from 'prop-types';
|
|
2
2
|
import { defineMessages, useIntl } from 'react-intl';
|
|
3
3
|
import { CardContatti } from 'io-sanita-theme/components';
|
|
4
|
-
import { RichTextSection } from 'io-sanita-theme/helpers';
|
|
4
|
+
import { RichTextSection, richTextHasContent } from 'io-sanita-theme/helpers';
|
|
5
5
|
import { Row, Col } from 'design-react-kit';
|
|
6
6
|
|
|
7
7
|
const messages = defineMessages({
|
|
@@ -9,26 +9,45 @@ const messages = defineMessages({
|
|
|
9
9
|
id: 'persona_contatti',
|
|
10
10
|
defaultMessage: 'Contatti',
|
|
11
11
|
},
|
|
12
|
+
informazioni_contatto: {
|
|
13
|
+
id: 'persona_informazioni_contatto',
|
|
14
|
+
defaultMessage: 'Informazioni di contatto',
|
|
15
|
+
},
|
|
12
16
|
});
|
|
13
17
|
|
|
14
18
|
const PersonaContatti = ({ content }) => {
|
|
15
19
|
const intl = useIntl();
|
|
16
20
|
|
|
17
|
-
return content?.pdc_correlato?.length > 0
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
21
|
+
return content?.pdc_correlato?.length > 0 ||
|
|
22
|
+
richTextHasContent(content?.informazioni_contatto) ?
|
|
23
|
+
(
|
|
24
|
+
<RichTextSection
|
|
25
|
+
tag_id="contatti"
|
|
26
|
+
title={intl.formatMessage(messages.contatti)}
|
|
27
|
+
>
|
|
28
|
+
<Row>
|
|
29
|
+
{/* Punto di contatto */}
|
|
30
|
+
{content?.pdc_correlato.map((item, i) => (
|
|
31
|
+
<Col lg={6} className="py-lg-2" key={item['@id']}>
|
|
32
|
+
<CardContatti item={item} show_title={true} />
|
|
33
|
+
</Col>
|
|
34
|
+
))}
|
|
35
|
+
</Row>
|
|
36
|
+
<Row>
|
|
37
|
+
{/* Informazioni di contatto */}
|
|
38
|
+
{richTextHasContent(content?.informazioni_contatto) && (
|
|
39
|
+
<Col lg={6} className="py-lg-2 informazioni-contatto-wrapper">
|
|
40
|
+
<RichTextSection
|
|
41
|
+
data={content.informazioni_contatto}
|
|
42
|
+
tag_id="informazioni_contatto"
|
|
43
|
+
title={intl.formatMessage(messages.informazioni_contatto)}
|
|
44
|
+
/>
|
|
45
|
+
</Col>
|
|
46
|
+
)}
|
|
47
|
+
</Row>
|
|
48
|
+
</RichTextSection>
|
|
49
|
+
|
|
50
|
+
) : null;
|
|
32
51
|
};
|
|
33
52
|
|
|
34
53
|
PersonaContatti.propTypes = {
|
|
@@ -10,11 +10,7 @@ import {
|
|
|
10
10
|
const messages = defineMessages({
|
|
11
11
|
date_e_orari: {
|
|
12
12
|
id: 'struttura_date_e_orari',
|
|
13
|
-
defaultMessage: '
|
|
14
|
-
},
|
|
15
|
-
orari: {
|
|
16
|
-
id: 'struttura_orari',
|
|
17
|
-
defaultMessage: 'Orari',
|
|
13
|
+
defaultMessage: 'Orari di apertura',
|
|
18
14
|
},
|
|
19
15
|
});
|
|
20
16
|
|
|
@@ -28,7 +24,6 @@ const StrutturaDateOrari = ({ content }) => {
|
|
|
28
24
|
>
|
|
29
25
|
{richTextHasContent(content.orari) && (
|
|
30
26
|
<RichText
|
|
31
|
-
title={intl.formatMessage(messages.orari)}
|
|
32
27
|
data={content.orari}
|
|
33
28
|
/>
|
|
34
29
|
)}
|
|
@@ -10,12 +10,8 @@ import {
|
|
|
10
10
|
const messages = defineMessages({
|
|
11
11
|
date_e_orari: {
|
|
12
12
|
id: 'uo_date_e_orari',
|
|
13
|
-
defaultMessage: '
|
|
14
|
-
}
|
|
15
|
-
orari: {
|
|
16
|
-
id: 'uo_orari',
|
|
17
|
-
defaultMessage: 'Orari',
|
|
18
|
-
},
|
|
13
|
+
defaultMessage: 'Orari di apertura',
|
|
14
|
+
}
|
|
19
15
|
});
|
|
20
16
|
|
|
21
17
|
const UODateOrari = ({ content }) => {
|
|
@@ -28,7 +24,6 @@ const UODateOrari = ({ content }) => {
|
|
|
28
24
|
>
|
|
29
25
|
{richTextHasContent(content.orari) && (
|
|
30
26
|
<RichText
|
|
31
|
-
title={intl.formatMessage(messages.orari)}
|
|
32
27
|
data={content.orari}
|
|
33
28
|
/>
|
|
34
29
|
)}
|
package/src/theme/main.scss
CHANGED
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
@import './io-sanita/components/blocks/grid';
|
|
37
37
|
@import './io-sanita/components/blocks/search';
|
|
38
38
|
@import './io-sanita/components/blocks/video';
|
|
39
|
+
@import './io-sanita/components/view/personaview';
|
|
39
40
|
|
|
40
41
|
@import './io-sanita/subsites/_common';
|
|
41
42
|
/****************/
|