Skip to content

Commit

Permalink
Merge pull request #369 from eea/develop
Browse files Browse the repository at this point in the history
Release
  • Loading branch information
tiberiuichim authored Jan 9, 2025
2 parents 106b647 + 45e62ac commit 2bbccad
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 4 deletions.
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,21 @@ All notable changes to this project will be documented in this file. Dates are d

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

### [0.2.91](https://github.com/eea/volto-cca-policy/compare/0.2.90...0.2.91) - 8 January 2025
### [0.2.92](https://github.com/eea/volto-cca-policy/compare/0.2.91...0.2.92) - 9 January 2025

#### :rocket: New Features

- feat(views): show weblink on news item view [kreafox - [`f7eca29`](https://github.com/eea/volto-cca-policy/commit/f7eca29965531fbc6743cfb4d9b2c58b87bf1560)]

#### :house: Internal changes

- style: fix weblink styling [kreafox - [`a481232`](https://github.com/eea/volto-cca-policy/commit/a481232d7be1e071844705227b887e379c0fd24c)]

#### :hammer_and_wrench: Others

- Add include_archived facet [Tiberiu Ichim - [`376681d`](https://github.com/eea/volto-cca-policy/commit/376681d7f7d7bba1925cf5454504d2139853df66)]
- Retry tests [kreafox - [`674992e`](https://github.com/eea/volto-cca-policy/commit/674992efc22196c7890370d3e64634f32aa45ead)]
### [0.2.91](https://github.com/eea/volto-cca-policy/compare/0.2.90...0.2.91) - 9 January 2025

### [0.2.90](https://github.com/eea/volto-cca-policy/compare/0.2.89...0.2.90) - 8 January 2025

#### :rocket: New Features
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
[![Bugs](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-cca-policy-develop&metric=bugs)](https://sonarqube.eea.europa.eu/dashboard?id=volto-cca-policy-develop)
[![Duplicated Lines (%)](https://sonarqube.eea.europa.eu/api/project_badges/measure?project=volto-cca-policy-develop&metric=duplicated_lines_density)](https://sonarqube.eea.europa.eu/dashboard?id=volto-cca-policy-develop)

Climate-ADAPT Frontend Policy
Climate-ADAPT Frontend Policy

[Volto](https://github.com/plone/volto) add-on

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eeacms/volto-cca-policy",
"version": "0.2.91",
"version": "0.2.92",
"description": "@eeacms/volto-cca-policy: Volto add-on",
"main": "src/index.js",
"author": "European Environment Agency: IDM2 A-Team",
Expand Down
9 changes: 9 additions & 0 deletions src/components/theme/Views/NewsItemView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,21 @@ import { filterBlocks } from '@eeacms/volto-cca-policy/utils';
import { PortalMessage } from '@eeacms/volto-cca-policy/components';
import { HTMLField, SubjectTags } from '@eeacms/volto-cca-policy/helpers';
import RenderBlocks from '@plone/volto/components/theme/View/RenderBlocks';
import { UniversalLink } from '@plone/volto/components';

const DescriptionText = ({ content }) => {
return (
<>
<p className="documentDescription">{content.description}</p>
<HTMLField value={content.text} className="content-text" />
{content.remoteUrl && (
<div className="news-link">
<span>Read more on </span>
<UniversalLink href={content.remoteUrl}>
{content.remoteUrl}
</UniversalLink>
</div>
)}
</>
);
};
Expand Down
4 changes: 4 additions & 0 deletions theme/globals/views.less
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ hr {
}
}

.news-link {
margin: 0em 0em 1em 0em;
}

.db-item-view {
position: relative;

Expand Down

0 comments on commit 2bbccad

Please sign in to comment.