@eeacms/volto-clms-theme 1.0.196 → 1.0.197

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,6 +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.197](https://github.com/eea/volto-clms-theme/compare/1.0.196...1.0.197) - 5 April 2023
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - CLMS-1907 [ionlizarazu - [`2b0c862`](https://github.com/eea/volto-clms-theme/commit/2b0c8620e6562931717db6b1afc3c435255eb9cb)]
12
+ - unneeded config [ionlizarazu - [`8eb0afc`](https://github.com/eea/volto-clms-theme/commit/8eb0afc2bc5840ef5343a2124abd17b6e58b7ac8)]
13
+ - CLMS-1999 [ionlizarazu - [`f5494f4`](https://github.com/eea/volto-clms-theme/commit/f5494f4f9a4f8dc6ee30c97fe330f9e6e9535861)]
7
14
  ### [1.0.196](https://github.com/eea/volto-clms-theme/compare/1.0.195...1.0.196) - 4 April 2023
8
15
 
9
16
  #### :bug: Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.0.196",
3
+ "version": "1.0.197",
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",
@@ -80,7 +80,7 @@ const DownloadDataSetContent = (data, token) => {
80
80
  {data?.download_other_ways_access_dataset?.data &&
81
81
  data?.download_other_ways_access_dataset?.data !== '<p><br/><p>' &&
82
82
  data?.download_other_ways_access_dataset?.data !== '<p></p>' && (
83
- <div className="dataset-download-area">
83
+ <div className="dataset-access-container">
84
84
  <h2>You can also access this dataset</h2>
85
85
  <StringToHTML
86
86
  string={data?.download_other_ways_access_dataset?.data || ''}
@@ -168,8 +168,8 @@ class CLMSUserProfileView extends Component {
168
168
  </h1>
169
169
  <p>
170
170
  Use this form to update your profile details. Be aware that if
171
- you want to change your fullname and e-mail address, you have to
172
- do so in your{' '}
171
+ you want to change your full name and e-mail address, you have
172
+ to do so in your{' '}
173
173
  <UniversalLink href={'https://ecas.ec.europa.eu/cas/'}>
174
174
  EU Login account
175
175
  </UniversalLink>
@@ -179,7 +179,7 @@ class CLMSUserProfileView extends Component {
179
179
  <Segment>
180
180
  <ul>
181
181
  <li>
182
- <strong>Fullname:</strong> {this.props.user.fullname}
182
+ <strong>Full name:</strong> {this.props.user.fullname}
183
183
  </li>
184
184
  <li>
185
185
  <strong>E-mail:</strong> {this.props.user.email}
package/src/index.js CHANGED
@@ -112,23 +112,6 @@ const applyConfig = (config) => {
112
112
  },
113
113
  };
114
114
 
115
- config.settings.slate.toolbarButtons = [
116
- 'bold',
117
- 'italic',
118
- 'separator',
119
- 'heading-two',
120
- 'heading-three',
121
- 'numbered-list',
122
- 'bulleted-list',
123
- 'blockquote',
124
- 'callout',
125
- 'footnote',
126
- ];
127
- config.settings.slate.expandedToolbarButtons = [
128
- ...(config.settings.slate.expandedToolbarButtons || []),
129
- ];
130
- config = installLinkEditor(config);
131
-
132
115
  config.settings = {
133
116
  ...config.settings,
134
117
  downloadableObjects: ['File', 'TechnicalLibrary'],
@@ -183,6 +166,21 @@ const applyConfig = (config) => {
183
166
  ownDomain: 'land.copernicus.eu',
184
167
  };
185
168
 
169
+ config.settings.slate.toolbarButtons = [
170
+ 'bold',
171
+ 'italic',
172
+ 'separator',
173
+ 'heading-two',
174
+ 'heading-three',
175
+ 'numbered-list',
176
+ 'bulleted-list',
177
+ 'blockquote',
178
+ 'callout',
179
+ 'footnote',
180
+ ];
181
+
182
+ config = installLinkEditor(config);
183
+
186
184
  config.addonRoutes = [
187
185
  ...config.addonRoutes,
188
186
  {
@@ -682,6 +682,10 @@ body:not(.contenttype-lrf:not(.section-cart):not(.section-profile))
682
682
  margin-bottom: 3rem;
683
683
  }
684
684
 
685
+ .dataset-access-container {
686
+ margin-top: 3rem;
687
+ }
688
+
685
689
  /*Use cases*/
686
690
  .use-cases-block:not(:last-of-type) {
687
691
  margin-bottom: 3rem;