Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Unverified Commit d9ba3355 authored by Andreas Hennings's avatar Andreas Hennings Committed by GitHub
Browse files

Merge pull request #113 from openeuropa/update-EPIC-OEL-1255

Merge 1.x into EPIC-OEL-1255-migrate-paragraphs
parents c5860caa 9fe40b47
No related branches found
No related tags found
4 merge requests!121OEL-1421: Fix cosmetic changes.,!116OEL-1394: Merge 1.x into EPIC-1293-Project, align with new version of card:search pattern,!115Upate the EPIC-1293-project,!105EPIC: OEL-1255: Migrate paragraphs
......@@ -10,7 +10,7 @@
"cweagans/composer-patches": "^1.7",
"drupal/core": "^9.2",
"drupal/twig_field_value": "^2.0",
"openeuropa/oe_bootstrap_theme": "0.1255.202203291523"
"openeuropa/oe_bootstrap_theme": "0.1.202203290731"
},
"require-dev": {
"composer/installers": "^1.11",
......@@ -70,6 +70,11 @@
}
}
},
"patches": {
"openeuropa/oe_bootstrap_theme" : {
"1.x latest": "https://github.com/openeuropa/oe_bootstrap_theme/compare/0.1.202203290731..1.x.diff"
}
},
"drupal-scaffold": {
"locations": {
"web-root": "./build"
......
{#
/**
* @file
* Search result template.
* Theme override to display a node of bundle event in the teaser view mode.
*/
#}
{% set _title %}
<a class="text-underline-hover" href="{{ url }}">{{ label }}</a>
<a class="standalone" href="{{ url }}">{{ label }}</a>
{% endset %}
{% set _content %}
<span class="text-muted text-nowrap me-4-5">{{ content.oe_sc_event_dates }}</span>
{% endset %}
{% block content %}
<article{{attributes}}>
{{ pattern('card', {
variant: 'search',
......@@ -18,3 +19,5 @@
image: image,
content: _content
}) }}
</article>
{% endblock %}
{#
/**
* @file
* Search result template.
* Theme override to display a node of bundle news in the teaser view mode.
*/
#}
{% set _title %}
<a class="text-underline-hover" href="{{ url }}">{{ label }}</a>
<a class="standalone" href="{{ url }}">{{ label }}</a>
{% endset %}
{% set _content %}
<span class="text-muted text-nowrap me-4-5">{{ content.oe_publication_date }}</span>
{% endset %}
{% block content %}
<article{{attributes}}>
{{ pattern('card', {
variant: 'search',
......@@ -19,3 +20,4 @@
content: _content
}) }}
</article>
{% endblock %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment