-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from openeuropa/OEL-750-all
OEL-750: BCL Upgrade to 0.14.0
- Loading branch information
Showing
7 changed files
with
38 additions
and
45 deletions.
There are no files selected for viewing
This file contains 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 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 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
15 changes: 4 additions & 11 deletions
15
templates/patterns/header/pattern-header--variant-ec.html.twig
This file contains 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 |
---|---|---|
@@ -1,18 +1,11 @@ | ||
{% extends "pattern-header.html.twig" %} | ||
{# | ||
/** | ||
* @file | ||
* Template override for pattern header variant EC. | ||
*/ | ||
#} | ||
{% set _header_classes = attributes.addClass('ec__header') %} | ||
|
||
{% block content %} | ||
{{ pattern('navbar', { | ||
navbar_left: header_left, | ||
navbar_right: header_right, | ||
color_set: 'light', | ||
collapse_id: 'navbarNavDropdown', | ||
attributes: attributes | ||
}) }} | ||
{% extends "pattern-header.html.twig" %} | ||
{% block header %} | ||
{% set _header_attributes = create_attribute().addClass(['ec__header', 'bcl-header']) %} | ||
{{ parent() }} | ||
{% endblock %} |
13 changes: 4 additions & 9 deletions
13
templates/patterns/header/pattern-header--variant-eu.html.twig
This file contains 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 |
---|---|---|
@@ -1,16 +1,11 @@ | ||
{% extends "pattern-header.html.twig" %} | ||
{# | ||
/** | ||
* @file | ||
* Template override for pattern header variant EU. | ||
*/ | ||
#} | ||
{% block content %} | ||
{{ pattern('navbar', { | ||
navbar_left: header_left, | ||
navbar_right: header_right, | ||
color_set: 'dark', | ||
collapse_id: 'navbarNavDropdown', | ||
attributes: attributes | ||
}) }} | ||
{% extends "pattern-header.html.twig" %} | ||
{% block header %} | ||
{% set _header_attributes = create_attribute().addClass(['bcl-header']) %} | ||
{{ parent() }} | ||
{% endblock %} |
This file contains 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 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