io-sanita-theme 2.28.2 → 2.30.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 +33 -0
- package/RELEASE.md +7 -0
- package/locales/de/LC_MESSAGES/volto.po +8 -12
- package/locales/en/LC_MESSAGES/volto.po +8 -12
- package/locales/es/LC_MESSAGES/volto.po +8 -12
- package/locales/fr/LC_MESSAGES/volto.po +8 -12
- package/locales/it/LC_MESSAGES/volto.po +8 -12
- package/locales/volto.pot +9 -13
- package/package.json +1 -1
- package/src/components/Blocks/SearchServiziProcedure/Body.jsx +8 -0
- package/src/components/View/AggregationPage/AggregationPage.jsx +0 -2
- package/src/components/View/Persona/PersonaContatti.jsx +35 -16
- package/src/components/View/Struttura/StrutturaDateOrari.jsx +1 -6
- package/src/components/View/UOView/UOContatti.jsx +8 -2
- package/src/components/View/UOView/UODateOrari.jsx +2 -7
- package/src/components/View/UOView/UOUlterioriInformazioni.jsx +18 -3
- package/src/helpers/Item/item.js +3 -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,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.30.0](https://github.com/RedTurtle/io-sanita-theme/compare/2.29.0...2.30.0) (2026-05-27)
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* ulteriori info in uo ([#144](https://github.com/RedTurtle/io-sanita-theme/issues/144)) ([4ff54b0](https://github.com/RedTurtle/io-sanita-theme/commit/4ff54b01727f1c0455a2cd8b04aa50418e010f10))
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* handle no geolocation in person card avoiding to show 0 ([#143](https://github.com/RedTurtle/io-sanita-theme/issues/143)) ([58e9eb3](https://github.com/RedTurtle/io-sanita-theme/commit/58e9eb3410e5ec19d75ab57e2eeb96576e30757f))
|
|
12
|
+
* handle related-item-in-evidence in aggregationPage ([#142](https://github.com/RedTurtle/io-sanita-theme/issues/142)) ([54a48ec](https://github.com/RedTurtle/io-sanita-theme/commit/54a48ec223ff49b1f2142a5827d7dc29a374197e))
|
|
13
|
+
|
|
14
|
+
### Maintenance
|
|
15
|
+
|
|
16
|
+
* locales ([66f612d](https://github.com/RedTurtle/io-sanita-theme/commit/66f612d2bd6b46ea5211228bd34df7b0f4323b1e))
|
|
17
|
+
* releaselog ([85d5c9a](https://github.com/RedTurtle/io-sanita-theme/commit/85d5c9aa94fbc441cfdddcaaf293b69bfd0acedf))
|
|
18
|
+
* typo ([df9e3ae](https://github.com/RedTurtle/io-sanita-theme/commit/df9e3aed3398673947d762b3d2ab3dd2c5c88600))
|
|
19
|
+
* typo ([a84a5f9](https://github.com/RedTurtle/io-sanita-theme/commit/a84a5f93a125a3d45608dbc25a2e961b00432119))
|
|
20
|
+
|
|
21
|
+
## [2.29.0](https://github.com/RedTurtle/io-sanita-theme/compare/2.28.2...2.29.0) (2026-05-21)
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* 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))
|
|
26
|
+
* 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))
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* 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))
|
|
31
|
+
|
|
32
|
+
### Maintenance
|
|
33
|
+
|
|
34
|
+
* update po ([67e8668](https://github.com/RedTurtle/io-sanita-theme/commit/67e86683f8a7ffc5d796df835871b66983c7fdec))
|
|
35
|
+
|
|
3
36
|
## [2.28.2](https://github.com/RedTurtle/io-sanita-theme/compare/2.28.1...2.28.2) (2026-05-06)
|
|
4
37
|
|
|
5
38
|
### Maintenance
|
package/RELEASE.md
CHANGED
|
@@ -41,6 +41,13 @@
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
43
|
|
|
44
|
+
## Versione 2.29.0 (27/05/2026)
|
|
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
|
+
- Gestita la mancanza di geolocalizzazione all'interno del CT Persona in modo tale da non mostrare 0 all'interno della card Persona quando assente.
|
|
50
|
+
|
|
44
51
|
## Versione 2.28.0 (05/05/2026)
|
|
45
52
|
|
|
46
53
|
### 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"
|
|
@@ -3873,6 +3878,7 @@ msgstr ""
|
|
|
3873
3878
|
|
|
3874
3879
|
#. Default: "Come accedere"
|
|
3875
3880
|
#: components/View/Struttura/StrutturaComeAccedere
|
|
3881
|
+
#: components/View/UOView/UOUlterioriInformazioni
|
|
3876
3882
|
msgid "struttura_come_accedere"
|
|
3877
3883
|
msgstr ""
|
|
3878
3884
|
|
|
@@ -3896,7 +3902,7 @@ msgstr ""
|
|
|
3896
3902
|
msgid "struttura_cos_e"
|
|
3897
3903
|
msgstr ""
|
|
3898
3904
|
|
|
3899
|
-
#. Default: "
|
|
3905
|
+
#. Default: "Orari di apertura"
|
|
3900
3906
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3901
3907
|
msgid "struttura_date_e_orari"
|
|
3902
3908
|
msgstr ""
|
|
@@ -3911,11 +3917,6 @@ msgstr ""
|
|
|
3911
3917
|
msgid "struttura_gallery"
|
|
3912
3918
|
msgstr ""
|
|
3913
3919
|
|
|
3914
|
-
#. Default: "Orari"
|
|
3915
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3916
|
-
msgid "struttura_orari"
|
|
3917
|
-
msgstr ""
|
|
3918
|
-
|
|
3919
3920
|
#. Default: "Personale della struttura"
|
|
3920
3921
|
#: components/View/Struttura/StrutturaPersonale
|
|
3921
3922
|
msgid "struttura_personale"
|
|
@@ -4107,7 +4108,7 @@ msgstr ""
|
|
|
4107
4108
|
msgid "uo_contatti"
|
|
4108
4109
|
msgstr ""
|
|
4109
4110
|
|
|
4110
|
-
#. Default: "
|
|
4111
|
+
#. Default: "Orari di apertura"
|
|
4111
4112
|
#: components/View/UOView/UODateOrari
|
|
4112
4113
|
msgid "uo_date_e_orari"
|
|
4113
4114
|
msgstr ""
|
|
@@ -4127,11 +4128,6 @@ msgstr ""
|
|
|
4127
4128
|
msgid "uo_fa_parte_di"
|
|
4128
4129
|
msgstr ""
|
|
4129
4130
|
|
|
4130
|
-
#. Default: "Orari"
|
|
4131
|
-
#: components/View/UOView/UODateOrari
|
|
4132
|
-
msgid "uo_orari"
|
|
4133
|
-
msgstr ""
|
|
4134
|
-
|
|
4135
4131
|
#. Default: "Personale"
|
|
4136
4132
|
#: components/View/UOView/UOPersonale
|
|
4137
4133
|
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"
|
|
@@ -3868,6 +3873,7 @@ msgstr "Alerts and news"
|
|
|
3868
3873
|
|
|
3869
3874
|
#. Default: "Come accedere"
|
|
3870
3875
|
#: components/View/Struttura/StrutturaComeAccedere
|
|
3876
|
+
#: components/View/UOView/UOUlterioriInformazioni
|
|
3871
3877
|
msgid "struttura_come_accedere"
|
|
3872
3878
|
msgstr "How to access"
|
|
3873
3879
|
|
|
@@ -3891,7 +3897,7 @@ msgstr "Related structures"
|
|
|
3891
3897
|
msgid "struttura_cos_e"
|
|
3892
3898
|
msgstr "What is it"
|
|
3893
3899
|
|
|
3894
|
-
#. Default: "
|
|
3900
|
+
#. Default: "Orari di apertura"
|
|
3895
3901
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3896
3902
|
msgid "struttura_date_e_orari"
|
|
3897
3903
|
msgstr "Dates and times"
|
|
@@ -3906,11 +3912,6 @@ msgstr "Where"
|
|
|
3906
3912
|
msgid "struttura_gallery"
|
|
3907
3913
|
msgstr "Gallery"
|
|
3908
3914
|
|
|
3909
|
-
#. Default: "Orari"
|
|
3910
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3911
|
-
msgid "struttura_orari"
|
|
3912
|
-
msgstr "Times"
|
|
3913
|
-
|
|
3914
3915
|
#. Default: "Personale della struttura"
|
|
3915
3916
|
#: components/View/Struttura/StrutturaPersonale
|
|
3916
3917
|
msgid "struttura_personale"
|
|
@@ -4102,7 +4103,7 @@ msgstr "Skills"
|
|
|
4102
4103
|
msgid "uo_contatti"
|
|
4103
4104
|
msgstr "Contacts"
|
|
4104
4105
|
|
|
4105
|
-
#. Default: "
|
|
4106
|
+
#. Default: "Orari di apertura"
|
|
4106
4107
|
#: components/View/UOView/UODateOrari
|
|
4107
4108
|
msgid "uo_date_e_orari"
|
|
4108
4109
|
msgstr "Dates and times"
|
|
@@ -4122,11 +4123,6 @@ msgstr "Where"
|
|
|
4122
4123
|
msgid "uo_fa_parte_di"
|
|
4123
4124
|
msgstr "Part of"
|
|
4124
4125
|
|
|
4125
|
-
#. Default: "Orari"
|
|
4126
|
-
#: components/View/UOView/UODateOrari
|
|
4127
|
-
msgid "uo_orari"
|
|
4128
|
-
msgstr "Times"
|
|
4129
|
-
|
|
4130
4126
|
#. Default: "Personale"
|
|
4131
4127
|
#: components/View/UOView/UOPersonale
|
|
4132
4128
|
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"
|
|
@@ -3875,6 +3880,7 @@ msgstr ""
|
|
|
3875
3880
|
|
|
3876
3881
|
#. Default: "Come accedere"
|
|
3877
3882
|
#: components/View/Struttura/StrutturaComeAccedere
|
|
3883
|
+
#: components/View/UOView/UOUlterioriInformazioni
|
|
3878
3884
|
msgid "struttura_come_accedere"
|
|
3879
3885
|
msgstr ""
|
|
3880
3886
|
|
|
@@ -3898,7 +3904,7 @@ msgstr ""
|
|
|
3898
3904
|
msgid "struttura_cos_e"
|
|
3899
3905
|
msgstr ""
|
|
3900
3906
|
|
|
3901
|
-
#. Default: "
|
|
3907
|
+
#. Default: "Orari di apertura"
|
|
3902
3908
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3903
3909
|
msgid "struttura_date_e_orari"
|
|
3904
3910
|
msgstr ""
|
|
@@ -3913,11 +3919,6 @@ msgstr ""
|
|
|
3913
3919
|
msgid "struttura_gallery"
|
|
3914
3920
|
msgstr ""
|
|
3915
3921
|
|
|
3916
|
-
#. Default: "Orari"
|
|
3917
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3918
|
-
msgid "struttura_orari"
|
|
3919
|
-
msgstr ""
|
|
3920
|
-
|
|
3921
3922
|
#. Default: "Personale della struttura"
|
|
3922
3923
|
#: components/View/Struttura/StrutturaPersonale
|
|
3923
3924
|
msgid "struttura_personale"
|
|
@@ -4109,7 +4110,7 @@ msgstr ""
|
|
|
4109
4110
|
msgid "uo_contatti"
|
|
4110
4111
|
msgstr ""
|
|
4111
4112
|
|
|
4112
|
-
#. Default: "
|
|
4113
|
+
#. Default: "Orari di apertura"
|
|
4113
4114
|
#: components/View/UOView/UODateOrari
|
|
4114
4115
|
msgid "uo_date_e_orari"
|
|
4115
4116
|
msgstr ""
|
|
@@ -4129,11 +4130,6 @@ msgstr ""
|
|
|
4129
4130
|
msgid "uo_fa_parte_di"
|
|
4130
4131
|
msgstr ""
|
|
4131
4132
|
|
|
4132
|
-
#. Default: "Orari"
|
|
4133
|
-
#: components/View/UOView/UODateOrari
|
|
4134
|
-
msgid "uo_orari"
|
|
4135
|
-
msgstr ""
|
|
4136
|
-
|
|
4137
4133
|
#. Default: "Personale"
|
|
4138
4134
|
#: components/View/UOView/UOPersonale
|
|
4139
4135
|
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"
|
|
@@ -3875,6 +3880,7 @@ msgstr ""
|
|
|
3875
3880
|
|
|
3876
3881
|
#. Default: "Come accedere"
|
|
3877
3882
|
#: components/View/Struttura/StrutturaComeAccedere
|
|
3883
|
+
#: components/View/UOView/UOUlterioriInformazioni
|
|
3878
3884
|
msgid "struttura_come_accedere"
|
|
3879
3885
|
msgstr ""
|
|
3880
3886
|
|
|
@@ -3898,7 +3904,7 @@ msgstr ""
|
|
|
3898
3904
|
msgid "struttura_cos_e"
|
|
3899
3905
|
msgstr ""
|
|
3900
3906
|
|
|
3901
|
-
#. Default: "
|
|
3907
|
+
#. Default: "Orari di apertura"
|
|
3902
3908
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3903
3909
|
msgid "struttura_date_e_orari"
|
|
3904
3910
|
msgstr ""
|
|
@@ -3913,11 +3919,6 @@ msgstr ""
|
|
|
3913
3919
|
msgid "struttura_gallery"
|
|
3914
3920
|
msgstr ""
|
|
3915
3921
|
|
|
3916
|
-
#. Default: "Orari"
|
|
3917
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3918
|
-
msgid "struttura_orari"
|
|
3919
|
-
msgstr ""
|
|
3920
|
-
|
|
3921
3922
|
#. Default: "Personale della struttura"
|
|
3922
3923
|
#: components/View/Struttura/StrutturaPersonale
|
|
3923
3924
|
msgid "struttura_personale"
|
|
@@ -4109,7 +4110,7 @@ msgstr ""
|
|
|
4109
4110
|
msgid "uo_contatti"
|
|
4110
4111
|
msgstr ""
|
|
4111
4112
|
|
|
4112
|
-
#. Default: "
|
|
4113
|
+
#. Default: "Orari di apertura"
|
|
4113
4114
|
#: components/View/UOView/UODateOrari
|
|
4114
4115
|
msgid "uo_date_e_orari"
|
|
4115
4116
|
msgstr ""
|
|
@@ -4129,11 +4130,6 @@ msgstr ""
|
|
|
4129
4130
|
msgid "uo_fa_parte_di"
|
|
4130
4131
|
msgstr ""
|
|
4131
4132
|
|
|
4132
|
-
#. Default: "Orari"
|
|
4133
|
-
#: components/View/UOView/UODateOrari
|
|
4134
|
-
msgid "uo_orari"
|
|
4135
|
-
msgstr ""
|
|
4136
|
-
|
|
4137
4133
|
#. Default: "Personale"
|
|
4138
4134
|
#: components/View/UOView/UOPersonale
|
|
4139
4135
|
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"
|
|
@@ -3868,6 +3873,7 @@ msgstr ""
|
|
|
3868
3873
|
|
|
3869
3874
|
#. Default: "Come accedere"
|
|
3870
3875
|
#: components/View/Struttura/StrutturaComeAccedere
|
|
3876
|
+
#: components/View/UOView/UOUlterioriInformazioni
|
|
3871
3877
|
msgid "struttura_come_accedere"
|
|
3872
3878
|
msgstr ""
|
|
3873
3879
|
|
|
@@ -3891,7 +3897,7 @@ msgstr ""
|
|
|
3891
3897
|
msgid "struttura_cos_e"
|
|
3892
3898
|
msgstr ""
|
|
3893
3899
|
|
|
3894
|
-
#. Default: "
|
|
3900
|
+
#. Default: "Orari di apertura"
|
|
3895
3901
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3896
3902
|
msgid "struttura_date_e_orari"
|
|
3897
3903
|
msgstr ""
|
|
@@ -3906,11 +3912,6 @@ msgstr ""
|
|
|
3906
3912
|
msgid "struttura_gallery"
|
|
3907
3913
|
msgstr ""
|
|
3908
3914
|
|
|
3909
|
-
#. Default: "Orari"
|
|
3910
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3911
|
-
msgid "struttura_orari"
|
|
3912
|
-
msgstr ""
|
|
3913
|
-
|
|
3914
3915
|
#. Default: "Personale della struttura"
|
|
3915
3916
|
#: components/View/Struttura/StrutturaPersonale
|
|
3916
3917
|
msgid "struttura_personale"
|
|
@@ -4102,7 +4103,7 @@ msgstr ""
|
|
|
4102
4103
|
msgid "uo_contatti"
|
|
4103
4104
|
msgstr ""
|
|
4104
4105
|
|
|
4105
|
-
#. Default: "
|
|
4106
|
+
#. Default: "Orari di apertura"
|
|
4106
4107
|
#: components/View/UOView/UODateOrari
|
|
4107
4108
|
msgid "uo_date_e_orari"
|
|
4108
4109
|
msgstr ""
|
|
@@ -4122,11 +4123,6 @@ msgstr ""
|
|
|
4122
4123
|
msgid "uo_fa_parte_di"
|
|
4123
4124
|
msgstr ""
|
|
4124
4125
|
|
|
4125
|
-
#. Default: "Orari"
|
|
4126
|
-
#: components/View/UOView/UODateOrari
|
|
4127
|
-
msgid "uo_orari"
|
|
4128
|
-
msgstr ""
|
|
4129
|
-
|
|
4130
4126
|
#. Default: "Personale"
|
|
4131
4127
|
#: components/View/UOView/UOPersonale
|
|
4132
4128
|
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-27T13:14:14.832Z\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"
|
|
@@ -3870,6 +3875,7 @@ msgstr ""
|
|
|
3870
3875
|
|
|
3871
3876
|
#. Default: "Come accedere"
|
|
3872
3877
|
#: components/View/Struttura/StrutturaComeAccedere
|
|
3878
|
+
#: components/View/UOView/UOUlterioriInformazioni
|
|
3873
3879
|
msgid "struttura_come_accedere"
|
|
3874
3880
|
msgstr ""
|
|
3875
3881
|
|
|
@@ -3893,7 +3899,7 @@ msgstr ""
|
|
|
3893
3899
|
msgid "struttura_cos_e"
|
|
3894
3900
|
msgstr ""
|
|
3895
3901
|
|
|
3896
|
-
#. Default: "
|
|
3902
|
+
#. Default: "Orari di apertura"
|
|
3897
3903
|
#: components/View/Struttura/StrutturaDateOrari
|
|
3898
3904
|
msgid "struttura_date_e_orari"
|
|
3899
3905
|
msgstr ""
|
|
@@ -3908,11 +3914,6 @@ msgstr ""
|
|
|
3908
3914
|
msgid "struttura_gallery"
|
|
3909
3915
|
msgstr ""
|
|
3910
3916
|
|
|
3911
|
-
#. Default: "Orari"
|
|
3912
|
-
#: components/View/Struttura/StrutturaDateOrari
|
|
3913
|
-
msgid "struttura_orari"
|
|
3914
|
-
msgstr ""
|
|
3915
|
-
|
|
3916
3917
|
#. Default: "Personale della struttura"
|
|
3917
3918
|
#: components/View/Struttura/StrutturaPersonale
|
|
3918
3919
|
msgid "struttura_personale"
|
|
@@ -4104,7 +4105,7 @@ msgstr ""
|
|
|
4104
4105
|
msgid "uo_contatti"
|
|
4105
4106
|
msgstr ""
|
|
4106
4107
|
|
|
4107
|
-
#. Default: "
|
|
4108
|
+
#. Default: "Orari di apertura"
|
|
4108
4109
|
#: components/View/UOView/UODateOrari
|
|
4109
4110
|
msgid "uo_date_e_orari"
|
|
4110
4111
|
msgstr ""
|
|
@@ -4124,11 +4125,6 @@ msgstr ""
|
|
|
4124
4125
|
msgid "uo_fa_parte_di"
|
|
4125
4126
|
msgstr ""
|
|
4126
4127
|
|
|
4127
|
-
#. Default: "Orari"
|
|
4128
|
-
#: components/View/UOView/UODateOrari
|
|
4129
|
-
msgid "uo_orari"
|
|
4130
|
-
msgstr ""
|
|
4131
|
-
|
|
4132
4128
|
#. Default: "Personale"
|
|
4133
4129
|
#: components/View/UOView/UOPersonale
|
|
4134
4130
|
msgid "uo_personale"
|
package/package.json
CHANGED
|
@@ -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({
|
|
@@ -17,7 +17,6 @@ import {
|
|
|
17
17
|
PageHeader,
|
|
18
18
|
SkipToMainContent,
|
|
19
19
|
commonIntlMessages,
|
|
20
|
-
RelatedItemInEvidence,
|
|
21
20
|
} from 'io-sanita-theme/components/View/commons';
|
|
22
21
|
import {
|
|
23
22
|
CardSimple,
|
|
@@ -253,7 +252,6 @@ const AggregationPage = ({ match, route, location }) => {
|
|
|
253
252
|
</section>
|
|
254
253
|
</div>
|
|
255
254
|
</div>
|
|
256
|
-
<RelatedItemInEvidence content={content}/>
|
|
257
255
|
</>
|
|
258
256
|
);
|
|
259
257
|
};
|
|
@@ -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
|
)}
|
|
@@ -13,8 +13,8 @@ const messages = defineMessages({
|
|
|
13
13
|
|
|
14
14
|
const UOContatti = ({ content }) => {
|
|
15
15
|
const intl = useIntl();
|
|
16
|
-
|
|
17
|
-
return content?.pdc_correlato?.length > 0 ? (
|
|
16
|
+
const has_richTextContent = richTextHasContent(content?.pdc_correlato_text);
|
|
17
|
+
return content?.pdc_correlato?.length > 0 || has_richTextContent ? (
|
|
18
18
|
<RichTextSection
|
|
19
19
|
tag_id="contatti"
|
|
20
20
|
title={intl.formatMessage(messages.contatti)}
|
|
@@ -27,6 +27,12 @@ const UOContatti = ({ content }) => {
|
|
|
27
27
|
</Col>
|
|
28
28
|
))}
|
|
29
29
|
</Row>
|
|
30
|
+
{/* Contenuto testuale alternativo, usato ad esempio con il sync virtualdesk */}
|
|
31
|
+
{has_richTextContent && (
|
|
32
|
+
<div className="richtext-blocks font-serif">
|
|
33
|
+
<RichText data={content?.pdc_correlato_text} />
|
|
34
|
+
</div>
|
|
35
|
+
)}
|
|
30
36
|
</RichTextSection>
|
|
31
37
|
) : null;
|
|
32
38
|
};
|
|
@@ -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
|
)}
|
|
@@ -7,17 +7,32 @@ const messages = defineMessages({
|
|
|
7
7
|
id: 'other_info',
|
|
8
8
|
defaultMessage: 'Ulteriori informazioni',
|
|
9
9
|
},
|
|
10
|
+
come_accedere: {
|
|
11
|
+
id: 'struttura_come_accedere',
|
|
12
|
+
defaultMessage: 'Come accedere',
|
|
13
|
+
},
|
|
10
14
|
});
|
|
11
15
|
|
|
12
16
|
const UOUlterioriInformazioni = ({ content }) => {
|
|
13
17
|
const intl = useIntl();
|
|
14
|
-
|
|
18
|
+
const has_richTextUlteriori = richTextHasContent(content?.ulteriori_informazioni);
|
|
19
|
+
const has_come_accedere = richTextHasContent(content?.come_accedere);
|
|
20
|
+
return (has_richTextUlteriori || has_come_accedere) ? (
|
|
15
21
|
<RichTextSection
|
|
16
|
-
data={content.ulteriori_informazioni}
|
|
17
22
|
tag_id="more_info"
|
|
18
23
|
title={intl.formatMessage(messages.other_info)}
|
|
19
24
|
anchorOffset={true}
|
|
20
|
-
|
|
25
|
+
>
|
|
26
|
+
{content.ulteriori_informazioni && (
|
|
27
|
+
<RichText data={content.ulteriori_informazioni} />
|
|
28
|
+
)}
|
|
29
|
+
{content.come_accedere && (
|
|
30
|
+
<div className="mt-4">
|
|
31
|
+
<h3>{intl.formatMessage(messages.come_accedere)}</h3>
|
|
32
|
+
<RichText data={content.come_accedere} />
|
|
33
|
+
</div>
|
|
34
|
+
)}
|
|
35
|
+
</RichTextSection>
|
|
21
36
|
) : null;
|
|
22
37
|
};
|
|
23
38
|
|
package/src/helpers/Item/item.js
CHANGED
|
@@ -36,11 +36,7 @@ export const getItemIcon = (item) => {
|
|
|
36
36
|
};
|
|
37
37
|
|
|
38
38
|
export const hasGeolocation = (item) => {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
item?.geolocation?.longitude &&
|
|
43
|
-
item?.geolocation?.latitude !== 0 &&
|
|
44
|
-
item?.geolocation?.longitude !== 0
|
|
45
|
-
);
|
|
39
|
+
if (item?.geolocation?.latitude !== 0 && item?.geolocation?.longitude !== 0) {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
46
42
|
};
|
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
|
/****************/
|