@eeacms/volto-cca-policy 1.0.20 → 1.0.21
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 +17 -13
- package/locales/bg/LC_MESSAGES/volto.po +28 -26
- package/locales/cs/LC_MESSAGES/volto.po +28 -26
- package/locales/da/LC_MESSAGES/volto.po +28 -26
- package/locales/de/LC_MESSAGES/volto.po +28 -26
- package/locales/el/LC_MESSAGES/volto.po +28 -26
- package/locales/en/LC_MESSAGES/volto.po +28 -26
- package/locales/es/LC_MESSAGES/volto.po +28 -26
- package/locales/et/LC_MESSAGES/volto.po +28 -26
- package/locales/fi/LC_MESSAGES/volto.po +28 -26
- package/locales/fr/LC_MESSAGES/volto.po +28 -26
- package/locales/ga/LC_MESSAGES/volto.po +28 -26
- package/locales/hr/LC_MESSAGES/volto.po +28 -26
- package/locales/hu/LC_MESSAGES/volto.po +28 -26
- package/locales/is/LC_MESSAGES/volto.po +28 -26
- package/locales/it/LC_MESSAGES/volto.po +28 -26
- package/locales/lt/LC_MESSAGES/volto.po +28 -26
- package/locales/lv/LC_MESSAGES/volto.po +28 -26
- package/locales/mt/LC_MESSAGES/volto.po +28 -26
- package/locales/nl/LC_MESSAGES/volto.po +28 -26
- package/locales/nn/LC_MESSAGES/volto.po +28 -26
- package/locales/pl/LC_MESSAGES/volto.po +28 -26
- package/locales/pt/LC_MESSAGES/volto.po +28 -26
- package/locales/ro/LC_MESSAGES/volto.po +28 -26
- package/locales/sk/LC_MESSAGES/volto.po +28 -26
- package/locales/sl/LC_MESSAGES/volto.po +28 -26
- package/locales/sv/LC_MESSAGES/volto.po +28 -26
- package/locales/tr/LC_MESSAGES/volto.po +28 -26
- package/locales/volto.pot +29 -27
- package/package.json +1 -1
- package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem.jsx +10 -8
- package/src/components/Search/NavigatorCatalogue/NavigatorCatalogueCardItem.test.jsx +8 -6
- package/src/components/theme/Views/ExtendedToolView.jsx +10 -12
- package/src/components/theme/Views/ExtendedToolView.test.jsx +1 -2
- package/src/search/navigator_catalogue/facets.js +19 -30
- package/theme/globals/navigator.less +0 -8
|
@@ -574,7 +574,6 @@ describe('ExtendedToolView', () => {
|
|
|
574
574
|
sectors: [{ title: 'Agriculture' }, { title: 'Health' }],
|
|
575
575
|
type_of_outputs: [{ title: 'Maps' }, { title: 'Charts' }],
|
|
576
576
|
temporality_of_data: [{ title: 'Historical' }, { title: 'Projections' }],
|
|
577
|
-
tool_available_english: true,
|
|
578
577
|
tool_available_language: [{ title: 'French' }, 'Romanian'],
|
|
579
578
|
intended_user_groups: [{ title: 'Policy makers' }, 'Researchers'],
|
|
580
579
|
accessibility_and_usability: 'Easy to use',
|
|
@@ -623,7 +622,7 @@ describe('ExtendedToolView', () => {
|
|
|
623
622
|
expect(
|
|
624
623
|
screen.getByRole('heading', { name: 'Language' }),
|
|
625
624
|
).toBeInTheDocument();
|
|
626
|
-
expect(screen.getByText('
|
|
625
|
+
expect(screen.getByText('French, Romanian')).toBeInTheDocument();
|
|
627
626
|
expect(
|
|
628
627
|
screen.getByRole('heading', { name: 'User Group' }),
|
|
629
628
|
).toBeInTheDocument();
|
|
@@ -12,28 +12,24 @@ const messages = defineMessages({
|
|
|
12
12
|
defaultMessage: 'Climate hazards',
|
|
13
13
|
},
|
|
14
14
|
adaptationSupportCycleStep: {
|
|
15
|
-
id: 'Adaptation
|
|
16
|
-
defaultMessage: 'Adaptation
|
|
17
|
-
},
|
|
18
|
-
userGroups: {
|
|
19
|
-
id: 'User Groups',
|
|
20
|
-
defaultMessage: 'User Groups',
|
|
15
|
+
id: 'Adaptation policy cycle',
|
|
16
|
+
defaultMessage: 'Adaptation policy cycle',
|
|
21
17
|
},
|
|
22
18
|
typeOfOutputs: {
|
|
23
|
-
id: 'Type of
|
|
24
|
-
defaultMessage: 'Type of
|
|
19
|
+
id: 'Type of outputs',
|
|
20
|
+
defaultMessage: 'Type of outputs',
|
|
25
21
|
},
|
|
26
|
-
|
|
27
|
-
id: '
|
|
28
|
-
defaultMessage: '
|
|
22
|
+
focusAreas: {
|
|
23
|
+
id: 'Focus areas',
|
|
24
|
+
defaultMessage: 'Focus areas',
|
|
29
25
|
},
|
|
30
|
-
|
|
31
|
-
id: '
|
|
32
|
-
defaultMessage: '
|
|
26
|
+
implementationLevel: {
|
|
27
|
+
id: 'Implementation level',
|
|
28
|
+
defaultMessage: 'Implementation level',
|
|
33
29
|
},
|
|
34
|
-
|
|
35
|
-
id: '
|
|
36
|
-
defaultMessage: '
|
|
30
|
+
adaptationApproaches: {
|
|
31
|
+
id: 'Adaptation approaches',
|
|
32
|
+
defaultMessage: 'Adaptation approaches',
|
|
37
33
|
},
|
|
38
34
|
});
|
|
39
35
|
|
|
@@ -58,13 +54,6 @@ const facets = [
|
|
|
58
54
|
label: messages.adaptationSupportCycleStep,
|
|
59
55
|
alwaysVisible: false,
|
|
60
56
|
}),
|
|
61
|
-
multiTermFacet({
|
|
62
|
-
field: 'cca_intended_user_groups.keyword',
|
|
63
|
-
isFilterable: false,
|
|
64
|
-
isMulti: true,
|
|
65
|
-
label: messages.userGroups,
|
|
66
|
-
alwaysVisible: false,
|
|
67
|
-
}),
|
|
68
57
|
multiTermFacet({
|
|
69
58
|
field: 'cca_type_of_outputs.keyword',
|
|
70
59
|
isFilterable: false,
|
|
@@ -73,24 +62,24 @@ const facets = [
|
|
|
73
62
|
alwaysVisible: false,
|
|
74
63
|
}),
|
|
75
64
|
multiTermFacet({
|
|
76
|
-
field: '
|
|
65
|
+
field: 'cca_focus_areas.keyword',
|
|
77
66
|
isFilterable: false,
|
|
78
67
|
isMulti: true,
|
|
79
|
-
label: messages.
|
|
68
|
+
label: messages.focusAreas,
|
|
80
69
|
alwaysVisible: false,
|
|
81
70
|
}),
|
|
82
71
|
multiTermFacet({
|
|
83
|
-
field: '
|
|
72
|
+
field: 'cca_place_of_implementation.keyword',
|
|
84
73
|
isFilterable: false,
|
|
85
74
|
isMulti: true,
|
|
86
|
-
label: messages.
|
|
75
|
+
label: messages.implementationLevel,
|
|
87
76
|
alwaysVisible: false,
|
|
88
77
|
}),
|
|
89
78
|
multiTermFacet({
|
|
90
|
-
field: '
|
|
79
|
+
field: 'cca_elements.keyword',
|
|
91
80
|
isFilterable: false,
|
|
92
81
|
isMulti: true,
|
|
93
|
-
label: messages.
|
|
82
|
+
label: messages.adaptationApproaches,
|
|
94
83
|
alwaysVisible: false,
|
|
95
84
|
}),
|
|
96
85
|
];
|