Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

ISAICP-6773: Strip out metadata from the Latest News block #2637

Open
wants to merge 2 commits into
base: ISAICP-6415
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 2 additions & 13 deletions config/sync/core.entity_view_display.node.news.dated_listing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ dependencies:
module:
- field_delimiter
- field_formatter_range
- smart_trim
- joinup_html_stripper
- template_suggestion
- user
id: node.news.dated_listing
Expand All @@ -32,21 +32,10 @@ mode: dated_listing
content:
body:
label: hidden
type: smart_trim
type: joinup_html_stripper_stripped
weight: 2
settings:
trim_length: 200
trim_type: chars
trim_suffix: …
wrap_class: trimmed
more_text: More
more_class: more-link
summary_handler: trim
trim_options:
text: true
trim_zero: false
wrap_output: false
more_link: false
third_party_settings:
template_suggestion:
template_suggestion: ''
Expand Down
10 changes: 5 additions & 5 deletions tests/features/homepage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ Feature: Homepage
| title | Shaping of nature |
| state | validated |
And news content:
| title | headline | collection | topic | state | publication date | body |
| Current biodiversity crisis | Preserve habitats | Shaping of nature | Finance in EU, Supplier exchange, E-health | validated | 2021-04-26T19:09:00Z | Here we combine global maps of human populations and land use over the past 12000 y with current biodiversity data to show that nearly <em>three quarters of nature has long been shaped by histories of human habitation</em> and use by indigenous peoples. |
| Environmental stewardship | Transformative practices | Shaping of nature | Employment and Support Allowance | validated | 2021-01-27T16:12:00Z | With rare exceptions current biodiversity losses are caused not by human conversion or degradation of untouched ecosystems but rather by the appropriation colonization and intensification of use in lands inhabited and used by prior societies. |
| Spatial reconstruction | Loss of wildlands | Shaping of nature | HR, Statistics and Analysis, E-justice | validated | 2021-02-28T13:15:00Z | Global land use history confirms that empowering the environmental stewardship of Indigenous peoples and local communities will be critical to conserving biodiversity across the planet. |
| Earlier transformations | Ecosystem management | Shaping of nature | EU and European Policies | validated | 2021-03-29T10:18:00Z | Archaeological evidence shows that by 10000 BCE all societies employed ecologically transformative land use practices including burning hunting species propagation domestication cultivation have left long-term legacies across the biosphere. |
| title | headline | collection | topic | state | publication date | body |
| Current biodiversity crisis | Preserve habitats | Shaping of nature | Finance in EU, Supplier exchange, E-health | validated | 2021-04-26T19:09:00Z | Here we combine global maps of human populations and land use over the past 12000 y with current biodiversity data to show that nearly <em>three quarters of nature has long been shaped by histories of human habitation</em> and use by indigenous peoples. |
| Environmental stewardship | Transformative practices | Shaping of nature | Employment and Support Allowance | validated | 2021-01-27T16:12:00Z | With rare exceptions current biodiversity losses are caused not by human conversion or degradation of untouched ecosystems but rather by the appropriation colonization and intensification of use in lands inhabited and used by prior societies. |
| Spatial reconstruction | Loss of wildlands | Shaping of nature | HR, Statistics and Analysis, E-justice | validated | 2021-02-28T13:15:00Z | Global land use history confirms that empowering the environmental stewardship of Indigenous peoples and local communities will be critical to conserving biodiversity across the planet. |
| Earlier transformations | Ecosystem management | Shaping of nature | EU and European Policies | validated | 2021-03-29T10:18:00Z | "<p>{""preview_thumbnail"":""/sites/default/files/styles/video_embed_wysiwyg_preview/public/video_thumbnails/dQw4w9WgXcQ.jpg?itok=s9z0clFM"",""video_url"":""https://www.youtube.com/watch?v=dQw4w9WgXcQ"",""settings"":{""responsive"":true,""width"":""854"",""height"":""480"",""autoplay"":false},""settings_summary"":[""Embedded Video (Responsive).""]}Archaeological evidence shows that by 10000 BCE all societies employed ecologically transformative land use practices including burning hunting species propagation domestication cultivation have left long-term legacies across the biosphere.</p>" |
When I am on the homepage
Then the latest news section should contain the following news articles:
| date | topics | title | body |
Expand Down