diff --git a/composer.json b/composer.json index 989869e1874238e9c7a12efa61f9596c971ba236..f8c79040962f39ad372fcc2ffe805bcf9f22e8aa 100644 --- a/composer.json +++ b/composer.json @@ -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" diff --git a/modules/oe_whitelabel_starter_event/templates/node--oe-sc-event--teaser.html.twig b/modules/oe_whitelabel_starter_event/templates/node--oe-sc-event--teaser.html.twig index 94b72061e78b99e857ace54a91a145164cc420c0..bc004c43f5327330e664393a675f1679f8044939 100755 --- a/modules/oe_whitelabel_starter_event/templates/node--oe-sc-event--teaser.html.twig +++ b/modules/oe_whitelabel_starter_event/templates/node--oe-sc-event--teaser.html.twig @@ -1,15 +1,16 @@ {# /** * @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 %} diff --git a/modules/oe_whitelabel_starter_news/templates/node--oe-sc-news--teaser.html.twig b/modules/oe_whitelabel_starter_news/templates/node--oe-sc-news--teaser.html.twig index 51cb95a61f580d497f9630740b58843e7fcca018..6650bbca5f729368d42e1bd09696fe7bfd03cf19 100644 --- a/modules/oe_whitelabel_starter_news/templates/node--oe-sc-news--teaser.html.twig +++ b/modules/oe_whitelabel_starter_news/templates/node--oe-sc-news--teaser.html.twig @@ -1,15 +1,16 @@ {# /** * @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 %}