This repository was archived by the owner on Jul 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
ISAICP-6765: “Highlighted Solution” will become “Highlighted Content”. #2631
Open
saidatom
wants to merge
19
commits into
ISAICP-6415
Choose a base branch
from
ISAICP-6765
base: ISAICP-6415
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
b7bdcb4
ISAICP-6765: “Highlighted Solution” will become “Highlighted Content”.
saidatom c31c06e
ISAICP-6765: Fix class block_element higlight content.
saidatom bbe23c6
ISAICP-6765: Fix click More solutions to Related content.
saidatom ccdb406
Merge remote-tracking branch 'origin/ISAICP-6415' into ISAICP-6765
pfrenssen dcf530c
ISAICP-6765: Fix highlighted view modes.
saidatom 3fdb29f
ISAICP-6765: Fix moderator permissions.
saidatom 6cc43a9
ISAICP-6765: Move 3 Scenario into 1 Scenario Outline.
saidatom cc836a5
ISAICP-6765: Ensure all different highlighted node types can be style…
pfrenssen b737263
ISAICP-6765: Fix typo.
pfrenssen a2fc0da
Merge remote-tracking branch 'origin/ISAICP-6415' into ISAICP-6765
saidatom c43474a
ISAICP-6765: Rename image style and fix text style.
saidatom 45ead57
ISAICP-6765: Allow users with permission to access the new 'Highlight…
pfrenssen ee5ea03
ISAICP-6765: Align tables.
pfrenssen 039962d
ISAICP-6765: Ensure the content of solutions is adequately stripped b…
pfrenssen 54175a3
ISAICP-6765: Maintain alphabetical ordering.
pfrenssen 91af5ba
ISAICP-6765: Move assertion to the right context now that we are chec…
pfrenssen 3305df9
ISAICP-6765: Update documentation.
pfrenssen 10a68c1
ISAICP-6765: Check that highlighted content is community content.
pfrenssen 44183ca
ISAICP-6765: Process the Highlighted Content block in a more concise …
pfrenssen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
148 changes: 148 additions & 0 deletions
148
config/sync/core.entity_view_display.rdf_entity.collection.highlighted.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,148 @@ | ||
| uuid: 651f0d88-0d69-41c1-a40c-908655d164bc | ||
| langcode: en | ||
| status: true | ||
| dependencies: | ||
| config: | ||
| - core.entity_view_mode.rdf_entity.highlighted | ||
| - field.field.rdf_entity.collection.field_ar_abstract | ||
| - field.field.rdf_entity.collection.field_ar_access_url | ||
| - field.field.rdf_entity.collection.field_ar_affiliates | ||
| - field.field.rdf_entity.collection.field_ar_banner | ||
| - field.field.rdf_entity.collection.field_ar_closed | ||
| - field.field.rdf_entity.collection.field_ar_contact_information | ||
| - field.field.rdf_entity.collection.field_ar_content_creation | ||
| - field.field.rdf_entity.collection.field_ar_description | ||
| - field.field.rdf_entity.collection.field_ar_logo | ||
| - field.field.rdf_entity.collection.field_ar_moderation | ||
| - field.field.rdf_entity.collection.field_ar_owner | ||
| - field.field.rdf_entity.collection.field_ar_state | ||
| - field.field.rdf_entity.collection.field_collection_content | ||
| - field.field.rdf_entity.collection.field_keywords | ||
| - field.field.rdf_entity.collection.field_newsletter | ||
| - field.field.rdf_entity.collection.field_short_id | ||
| - field.field.rdf_entity.collection.field_site_featured | ||
| - field.field.rdf_entity.collection.field_spatial_coverage | ||
| - field.field.rdf_entity.collection.field_topic | ||
| - rdf_entity.rdfentity.collection | ||
| - responsive_image.styles.highlighted_solution | ||
| module: | ||
| - field_delimiter | ||
| - field_formatter_range | ||
| - field_group | ||
| - layout_builder | ||
| - responsive_image | ||
| - smart_trim | ||
| - template_suggestion | ||
| - user | ||
| third_party_settings: | ||
| field_group: | ||
| group_abstract_wrapper: | ||
| children: | ||
| - field_ar_abstract | ||
| - read_more | ||
| parent_name: '' | ||
| weight: 4 | ||
| format_type: html_element | ||
| format_settings: | ||
| element: div | ||
| show_label: false | ||
| label_element: h3 | ||
| attributes: '' | ||
| effect: none | ||
| speed: fast | ||
| id: '' | ||
| classes: '' | ||
| label: 'Abstract wrapper' | ||
| region: hidden | ||
| layout_builder: | ||
| allow_custom: false | ||
| enabled: false | ||
| id: rdf_entity.collection.highlighted | ||
| targetEntityType: rdf_entity | ||
| bundle: collection | ||
| mode: highlighted | ||
| content: | ||
| field_ar_description: | ||
| type: smart_trim | ||
| weight: 3 | ||
| region: content | ||
| label: hidden | ||
| settings: | ||
| trim_length: 200 | ||
| trim_type: chars | ||
| trim_suffix: … | ||
| wrap_class: trimmed | ||
| more_text: More | ||
| more_class: more-link | ||
| trim_options: | ||
| text: true | ||
| trim_zero: false | ||
| wrap_output: false | ||
| more_link: false | ||
| summary_handler: full | ||
| third_party_settings: | ||
| template_suggestion: | ||
| template_suggestion: '' | ||
| field_ar_logo: | ||
| type: responsive_image | ||
| weight: 0 | ||
| region: content | ||
| label: hidden | ||
| settings: | ||
| responsive_image_style: highlighted_solution | ||
| image_link: content | ||
| third_party_settings: | ||
| template_suggestion: | ||
| template_suggestion: '' | ||
| field_topic: | ||
| type: entity_reference_label | ||
| weight: 1 | ||
| region: content | ||
| label: hidden | ||
| settings: | ||
| link: true | ||
| third_party_settings: | ||
| field_delimiter: | ||
| delimiter: '' | ||
| field_formatter_range: | ||
| order: 0 | ||
| limit: 2 | ||
| offset: 0 | ||
| template_suggestion: | ||
| template_suggestion: '' | ||
| label: | ||
| label: hidden | ||
| type: string | ||
| weight: 2 | ||
| settings: | ||
| link_to_entity: false | ||
| third_party_settings: { } | ||
| region: content | ||
| hidden: | ||
| changed: true | ||
| created: true | ||
| field_ar_abstract: true | ||
| field_ar_access_url: true | ||
| field_ar_affiliates: true | ||
| field_ar_banner: true | ||
| field_ar_closed: true | ||
| field_ar_contact_information: true | ||
| field_ar_content_creation: true | ||
| field_ar_moderation: true | ||
| field_ar_owner: true | ||
| field_ar_state: true | ||
| field_collection_content: true | ||
| field_keywords: true | ||
| field_newsletter: true | ||
| field_short_id: true | ||
| field_site_featured: true | ||
| field_spatial_coverage: true | ||
| join_collection: true | ||
| langcode: true | ||
| last_update: true | ||
| members: true | ||
| og_group: true | ||
| rdf_entity_field_collection_content_inline_facets: true | ||
| rdf_entity_field_collection_content_top: true | ||
| read_more: true | ||
| solutions: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
web/themes/ventuno/templates/rdf-entity/rdf-entity--collection--highlighted.html.twig
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,18 @@ | ||
| {# | ||
| /** | ||
| * @file | ||
| * Themeing for rdf entities. | ||
| */ | ||
| #} | ||
| <article{{ attributes }}> | ||
| {{ content.field_ar_logo }} | ||
| {{ content.field_topic }} | ||
| {{ title_prefix }} | ||
| {% if not page and not is_label_hidden %} | ||
| <h2{{ title_attributes }}> | ||
| <a href="{{ url }}" rel="bookmark">{{ label }}</a> | ||
| </h2> | ||
| {% endif %} | ||
| {{ title_suffix }} | ||
| {{ content|without('field_ar_logo', 'field_topic') }} | ||
| </article> | ||
|
pfrenssen marked this conversation as resolved.
Outdated
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.