@eeacms/volto-clms-theme 1.0.43 → 1.0.44

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,9 +4,16 @@ 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.44](https://github.com/eea/volto-clms-theme/compare/1.0.43...1.0.44)
8
+
9
+ - CclLoginModal - external link fixed [`736f348`](https://github.com/eea/volto-clms-theme/commit/736f348712c473d323a8bf2b6a1c6a10ab0aa266)
10
+ - change login modal texts [`b0c98af`](https://github.com/eea/volto-clms-theme/commit/b0c98af08501c830bb175b4ec69ad711c2874da1)
11
+
7
12
  #### [1.0.43](https://github.com/eea/volto-clms-theme/compare/1.0.42...1.0.43)
8
13
 
9
- - related-listing path [`6f94ebf`](https://github.com/eea/volto-clms-theme/commit/6f94ebf2b247c968afce42ef3e102f769b87e0be)
14
+ > 30 November 2021
15
+
16
+ - related-listing path [`#135`](https://github.com/eea/volto-clms-theme/pull/135)
10
17
 
11
18
  #### [1.0.42](https://github.com/eea/volto-clms-theme/compare/1.0.41...1.0.42)
12
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.0.43",
3
+ "version": "1.0.44",
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",
@@ -1,11 +1,11 @@
1
1
  import React, { useEffect } from 'react';
2
2
  import PropTypes from 'prop-types';
3
3
  import CclModal from '@eeacms/volto-clms-theme/components/CclModal/CclModal';
4
- import CclButton from '@eeacms/volto-clms-theme/components/CclButton/CclButton';
5
4
  import { useDispatch, useSelector } from 'react-redux';
6
5
  import { getRegistry } from '@eeacms/volto-clms-theme/actions';
7
6
  import { FormattedMessage } from 'react-intl';
8
7
  import config from '@plone/volto/registry';
8
+ import { toPublicURL } from '@plone/volto/helpers/Url/Url';
9
9
  import './ccl-login-modal.css';
10
10
  /**
11
11
  * Login Modal component doc.
@@ -44,18 +44,33 @@ function CclLoginModal() {
44
44
  size="fullscreen"
45
45
  modalStatus={modalStatus}
46
46
  >
47
- <div className="modal-login-title">Login</div>
47
+ <div className="modal-login-title">Registration / Login</div>
48
48
  <div className="modal-login-text">
49
- Registration is free. Personal data will only be used internally. more
50
- details, see the{' '}
51
- <a href="./personal-data-protection.html" target="_blank">
52
- Personal data protection
53
- </a>
54
- .
49
+ <p>
50
+ This site uses EU Login to handle user registration and login. You can
51
+ read more about this service in the{' '}
52
+ <a href="https://ecas.ec.europa.eu/cas/about.html">
53
+ EU Login site help
54
+ </a>
55
+ .
56
+ </p>
57
+ <p>
58
+ {' '}
59
+ When you clik on the following link, you will be sent to EU Login and
60
+ after a successful login there you will be redirected back to this
61
+ site.
62
+ </p>
63
+ <p>
64
+ If you have any issues or questions, please contact us using the
65
+ <a href="/en/contact-service-helpdesk"> helpdesk</a>.
66
+ </p>
55
67
  </div>
56
- <CclButton url={loginUrl || ''} mode="filled">
57
- Login
58
- </CclButton>
68
+ <a
69
+ href={toPublicURL(loginUrl) || '#'}
70
+ className="ccl-button ccl-button-green"
71
+ >
72
+ Login using EU Login
73
+ </a>
59
74
  </CclModal>
60
75
  );
61
76
  }