@eeacms/volto-clms-theme 1.1.274 → 1.1.275

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,11 @@ 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.1.275](https://github.com/eea/volto-clms-theme/compare/1.1.274...1.1.275) - 2 March 2026
8
+
9
+ #### :hammer_and_wrench: Others
10
+
11
+ - Refs #295005 - In TechnicalLibraryView add case of external source content. [GhitaB - [`ccc4d65`](https://github.com/eea/volto-clms-theme/commit/ccc4d65a4a3b8d54245baed78872d0fe0977a7ae)]
7
12
  ### [1.1.274](https://github.com/eea/volto-clms-theme/compare/1.1.273...1.1.274) - 26 February 2026
8
13
 
9
14
  #### :house: Internal changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-clms-theme",
3
- "version": "1.1.274",
3
+ "version": "1.1.275",
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",
@@ -21,7 +21,19 @@ const CLMSTechnicalLibraryView = (props) => {
21
21
  </div>
22
22
  )}
23
23
  <div className="technicallibrary-content">
24
- {content.ondemand ? (
24
+ {typeof content.external_source_url === 'string' &&
25
+ content.external_source_url.trim() !== '' ? (
26
+ <>
27
+ <p>This document is hosted externally. Access it here:</p>
28
+ <CclButton
29
+ url={content.external_source_url}
30
+ target="_blank"
31
+ rel="noreferrer"
32
+ >
33
+ Open External Source
34
+ </CclButton>
35
+ </>
36
+ ) : content.ondemand ? (
25
37
  <>
26
38
  <p>
27
39
  You are requesting an on-demand document. Please contact the{' '}