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

Skip to content
Snippets Groups Projects
Commit 35a6a4ad authored by escuriola's avatar escuriola
Browse files

OEL-1160: Minor refactor, removing non-valid lines and perform comments.

parent 4196fe09
No related branches found
No related tags found
1 merge request!71OEL-1160: Header refactor.
......@@ -16,7 +16,7 @@
{% block content %}
{% apply spaceless %}
{# project name #}
{# Project name. #}
{% if site_logo is not empty or site_name is not empty %}
{% set project_classes = 'bcl-header__project' %}
{% if light is not empty %}
......
......@@ -85,7 +85,7 @@
{{ page.navbar_branding }}
{# navbar #}
{# Navbar. #}
{% block navbar %}
{{ pattern('navbar', {
navigation: page.header_left,
......@@ -96,7 +96,7 @@
attributes: create_attribute().addClass(['bcl-header__navbar']),
}) }}
{% endblock %}
{# breadcrumbs #}
{# Breadcrumbs. #}
<div class="container">
{% block breadcrumbs %}
{{ page.breadcrumbs }}
......
......@@ -29,7 +29,6 @@ class SiteBrandingBlockTest extends KernelTestBase {
parent::setUp();
\Drupal::service('theme_installer')->install(['oe_whitelabel']);
$this->container->set('theme.registry', NULL);
$url = '/' . drupal_get_path('theme', 'oe_whitelabel') . '/logo.svg';
\Drupal::configFactory()
......@@ -47,8 +46,6 @@ class SiteBrandingBlockTest extends KernelTestBase {
->set('name', 'Site name')
->set('slogan', 'Slogan')
->save();
$this->container->set('theme.registry', NULL);
}
/**
......
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