@eeacms/volto-clms-theme 1.0.137 → 1.0.138
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
|
@@ -4,11 +4,15 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
-
### [1.0.
|
|
7
|
+
### [1.0.138](https://github.com/eea/volto-clms-theme/compare/1.0.137...1.0.138) - 27 October 2022
|
|
8
8
|
|
|
9
9
|
#### :bug: Bug Fixes
|
|
10
10
|
|
|
11
|
-
- fix:
|
|
11
|
+
- fix: show area, file or title (in that order) in the multiple files download pop-up [Mikel Larreategi - [`11e927f`](https://github.com/eea/volto-clms-theme/commit/11e927f33436ef5af4108264d1b51abd76297524)]
|
|
12
|
+
- fix: expiration date was set to 72 hours = 3 days. CLMS-1206 [Mikel Larreategi - [`bba9e0e`](https://github.com/eea/volto-clms-theme/commit/bba9e0e6ac6e47edc42b864ede7a6147f6450c8b)]
|
|
13
|
+
- fix: change button message. CLMS-1479 [Mikel Larreategi - [`6632813`](https://github.com/eea/volto-clms-theme/commit/6632813f6bd5e2c502ef42c9bbc9ddd539ac3fea)]
|
|
14
|
+
|
|
15
|
+
### [1.0.137](https://github.com/eea/volto-clms-theme/compare/1.0.136...1.0.137) - 26 October 2022
|
|
12
16
|
|
|
13
17
|
### [1.0.136](https://github.com/eea/volto-clms-theme/compare/1.0.135...1.0.136) - 26 October 2022
|
|
14
18
|
|
package/package.json
CHANGED
|
@@ -466,7 +466,7 @@ const CLMSCartContent = (props) => {
|
|
|
466
466
|
{getSelectedCartItems()
|
|
467
467
|
.filter((item) => item.file_id)
|
|
468
468
|
.map((item, key) => (
|
|
469
|
-
<li key={key}>{item.
|
|
469
|
+
<li key={key}>{item.area || item.file || item.title}</li>
|
|
470
470
|
))}
|
|
471
471
|
</ul>
|
|
472
472
|
<br />
|
|
@@ -198,7 +198,7 @@ const FileCard = (props) => {
|
|
|
198
198
|
{item.Message}
|
|
199
199
|
</Segment>
|
|
200
200
|
)}
|
|
201
|
-
{item?.Status === 'Finished_ok' &&
|
|
201
|
+
{item?.Status === 'Finished_ok' && 3 - daysDiff > -1 && (
|
|
202
202
|
<Segment basic className="file-download">
|
|
203
203
|
{item?.DownloadURL && (
|
|
204
204
|
<a href={item.DownloadURL} target="_blank" rel="noreferrer">
|
|
@@ -207,7 +207,7 @@ const FileCard = (props) => {
|
|
|
207
207
|
)}
|
|
208
208
|
{item?.FileSize && ` (${prettyBytes(item.FileSize)})`}
|
|
209
209
|
{item?.FinalizationDateTime &&
|
|
210
|
-
` | Expires in ${
|
|
210
|
+
` | Expires in ${3 - daysDiff} days`}
|
|
211
211
|
</Segment>
|
|
212
212
|
)}
|
|
213
213
|
</Grid.Column>
|
|
@@ -48,8 +48,8 @@ const messages = defineMessages({
|
|
|
48
48
|
defaultMessage: 'Replace existing image',
|
|
49
49
|
},
|
|
50
50
|
addNewFile: {
|
|
51
|
-
id: 'Choose
|
|
52
|
-
defaultMessage: 'Choose
|
|
51
|
+
id: 'Choose an image',
|
|
52
|
+
defaultMessage: 'Choose an image',
|
|
53
53
|
},
|
|
54
54
|
invalid_file: {
|
|
55
55
|
id: 'The uploaded file is not valid',
|