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

Skip to content
Snippets Groups Projects
Commit 9c000cea authored by escuriola's avatar escuriola
Browse files

OEL-779: Reformat code.

parent 171026ba
No related branches found
No related tags found
2 merge requests!64Update epic user profile,!63OEL-779: Update templates to use new pattern definitions
......@@ -43,7 +43,7 @@
{% set actions = actions|merge({('reset'): reset}) %}
{% set content = content|merge({('actions'): actions}) %}
{% endif %}
{% set button_attributes = create_attribute().addClass(['d-lg-none', 'w-100', 'mb-4']) %}
{% set button_attributes = create_attribute().addClass(['d-lg-none', 'w-100', 'mb-4']) %}
{% set toogle_button = {
'label': label,
'variant': 'light',
......
......@@ -4,35 +4,30 @@
* Template for header pattern.
*/
#}
{%
set _nav_attributes = create_attribute().addClass([
'w-100',
'shadow-sm',
'navbar',
'navbar-expand-lg',
'navbar-light',
])
%}
{% set _nav_attributes = create_attribute().addClass([
'w-100',
'shadow-sm',
'navbar',
'navbar-expand-lg',
'navbar-light',
]) %}
{% set navbar_attributes = create_attribute().addClass(['bcl-header__navbar']) %}
{% set _header_attributes = create_attribute() %}
{% set _project_attributes = create_attribute().addClass([
'bcl-header__project',
bcl_header_style == 'light' ? bcl_header_style,
]) %}
{% block header %}
<header {{ _header_attributes }}>
{% endblock %}
{% endblock %}
<nav {{ _nav_attributes }}>
<div class="container">
{{ navbar_branding }}
<ul class="nav">
{{ navbar_right }}
</ul>
</div>
</nav>
{%
set _project_attributes = create_attribute().addClass([
'bcl-header__project',
bcl_header_style == 'light' ? bcl_header_style,
])
%}
<div {{ _project_attributes }}>
<div class="container">
{{ header_top }}
......
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