@eeacms/volto-clms-theme 1.0.199 → 1.0.200

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,13 @@ 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.199](https://github.com/eea/volto-clms-theme/compare/1.0.198...1.0.199) - 26 April 2023
7
+ ### [1.0.200](https://github.com/eea/volto-clms-theme/compare/1.0.199...1.0.200) - 27 April 2023
8
8
 
9
- #### :bug: Bug Fixes
9
+ #### :hammer_and_wrench: Others
10
10
 
11
- - fix: CLMS-2053 style changes in home page [Mikel Larreategi - [`ea163d1`](https://github.com/eea/volto-clms-theme/commit/ea163d14e0e051f18f37746ffe959bb7963fe41e)]
11
+ - fix clms-2048 change footer newsletter subscription message when the user is already subscribed [Mikel Larreategi - [`4fb9df6`](https://github.com/eea/volto-clms-theme/commit/4fb9df663254ab0aa038067c8805dea68d1bc0cd)]
12
+ - clms-2008 show bounding box coordinates [Mikel Larreategi - [`d0fdcf2`](https://github.com/eea/volto-clms-theme/commit/d0fdcf2fa74862bf861d869550d134fa86f5be30)]
13
+ ### [1.0.199](https://github.com/eea/volto-clms-theme/compare/1.0.198...1.0.199) - 26 April 2023
12
14
 
13
15
  ### [1.0.198](https://github.com/eea/volto-clms-theme/compare/1.0.197...1.0.198) - 17 April 2023
14
16
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.0.199",
3
+ "version": "1.0.200",
4
4
  "description": "volto-clms-theme: Volto theme for CLMS site",
5
5
  "main": "src/index.js",
6
6
  "author": "CodeSyntax for the European Environment Agency",
@@ -190,8 +190,13 @@ const CLMSCartContent = (props) => {
190
190
  <span>Bounding Box</span>
191
191
  <br />
192
192
  <span>
193
- {'('} {item.area.value.map((item) => item.toFixed(3)).join(', ')}
194
- {')'}
193
+ {`N: ${item.area.value[0].toFixed(
194
+ 1,
195
+ )}º E: ${item.area.value[1].toFixed(1)}º`}
196
+ <br />
197
+ {`S: ${item.area.value[2].toFixed(
198
+ 1,
199
+ )}º W: ${item.area.value[3].toFixed(1)}º`}
195
200
  </span>
196
201
  </>
197
202
  );
@@ -193,7 +193,10 @@ class Footer extends Component {
193
193
  <Toast
194
194
  error
195
195
  title={this.props.intl.formatMessage(messages.error)}
196
- content={this.props.intl.formatMessage(messages.errorMessage)}
196
+ content={
197
+ this.props.subscribe_error_message ||
198
+ this.props.intl.formatMessage(messages.errorMessage)
199
+ }
197
200
  />,
198
201
  );
199
202
  });
@@ -501,6 +504,7 @@ export default compose(
501
504
  subscribe_loaded: state.subscription.loaded,
502
505
  subscribe_loading: state.subscription.loading,
503
506
  subscribe_error: state.subscription.error,
507
+ subscribe_error_message: state.subscription.error_message,
504
508
  }),
505
509
  {
506
510
  subscribeTo,