io-sanita-theme 2.16.4 → 2.16.5
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
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.16.5](https://github.com/RedTurtle/io-sanita-theme/compare/2.16.4...2.16.5) (2025-06-17)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* restored personale_correlato ([3f9e32e](https://github.com/RedTurtle/io-sanita-theme/commit/3f9e32e7cf723339eb934f71dc6c545653d2fa8b))
|
|
8
|
+
|
|
9
|
+
### Maintenance
|
|
10
|
+
|
|
11
|
+
* restored personale_correlato ([59b05ae](https://github.com/RedTurtle/io-sanita-theme/commit/59b05aeed581317fdf256c8ab8dc4f2cc69303ad))
|
|
12
|
+
* updated personale field of Struttura CT ([70e084b](https://github.com/RedTurtle/io-sanita-theme/commit/70e084be2e67d415d9c01d9be53270bb3672919f))
|
|
13
|
+
* updated Struttura ct with personale field ([8ab4263](https://github.com/RedTurtle/io-sanita-theme/commit/8ab42632602d24d6d8c0a833139cc556e69dce37))
|
|
14
|
+
* updated StrutturaPersonale with backreferences ([6eb5a1e](https://github.com/RedTurtle/io-sanita-theme/commit/6eb5a1e271e7e303aa228046a36f2d3e23e270f9))
|
|
15
|
+
|
|
3
16
|
## [2.16.4](https://github.com/RedTurtle/io-sanita-theme/compare/2.16.3...2.16.4) (2025-06-12)
|
|
4
17
|
|
|
5
18
|
### Maintenance
|
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: 2025-06-
|
|
4
|
+
"POT-Creation-Date: 2025-06-17T10:42:02.607Z\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"
|
package/package.json
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { defineMessages, useIntl } from 'react-intl';
|
|
3
|
+
import { RichTextSection } from 'io-sanita-theme/helpers';
|
|
4
|
+
import { CardPersona } from 'io-sanita-theme/components';
|
|
5
|
+
import { Row, Col } from 'design-react-kit';
|
|
3
6
|
import { BackReferences } from 'io-sanita-theme/components/View/commons';
|
|
4
7
|
|
|
5
8
|
const messages = defineMessages({
|
|
@@ -12,11 +15,25 @@ const messages = defineMessages({
|
|
|
12
15
|
const StrutturaPersonale = ({ content }) => {
|
|
13
16
|
const intl = useIntl();
|
|
14
17
|
|
|
15
|
-
return (
|
|
18
|
+
return content?.personale_correlato?.length > 0 ? (
|
|
19
|
+
<RichTextSection
|
|
20
|
+
tag_id="personale"
|
|
21
|
+
title={intl.formatMessage(messages.personale)}
|
|
22
|
+
>
|
|
23
|
+
{/* PERSONALE DELLA STRUTTURA - campo manuale, se compilato vince sopra ai correlati */}
|
|
24
|
+
<Row className="mb-5">
|
|
25
|
+
{content.personale_correlato.map((item) => (
|
|
26
|
+
<Col lg={6} className="py-lg-2" key={'personale_' + item['@id']}>
|
|
27
|
+
<CardPersona item={item} />
|
|
28
|
+
</Col>
|
|
29
|
+
))}
|
|
30
|
+
</Row>
|
|
31
|
+
</RichTextSection>
|
|
32
|
+
) : (
|
|
16
33
|
<BackReferences
|
|
17
34
|
type="Persona"
|
|
18
35
|
content={content}
|
|
19
|
-
id=
|
|
36
|
+
id="Persona"
|
|
20
37
|
title={intl.formatMessage(messages.personale)}
|
|
21
38
|
/>
|
|
22
39
|
);
|