From 35ac9391940811fc53b0f1ff9e4f520ac25e014b Mon Sep 17 00:00:00 2001 From: escuriola <escuriola@gmail.com> Date: Wed, 16 Feb 2022 18:26:50 +0100 Subject: [PATCH] OEL-1160: Add template to region branding header top right. --- .../navigation/region--navbar-right.html.twig | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 templates/overrides/navigation/region--navbar-right.html.twig diff --git a/templates/overrides/navigation/region--navbar-right.html.twig b/templates/overrides/navigation/region--navbar-right.html.twig new file mode 100644 index 00000000..1dd14601 --- /dev/null +++ b/templates/overrides/navigation/region--navbar-right.html.twig @@ -0,0 +1,22 @@ +{# +/** + * @file + * Default theme implementation to display a region. + * + * Available variables: + * - content: The content for this region, typically blocks. + * - attributes: HTML attributes for the region <div>. + * - region: The name of the region variable as defined in the theme's + * .info.yml file. + * + * @see template_preprocess_region() + * + * @ingroup themeable + */ +#} +{% set attributes = attributes.addClass('nav') %} +{% if content %} + <ul{{ attributes }}> + {{ content }} + </ul> +{% endif %} -- GitLab