Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bs_base
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
bs_base
Commits
f14e3c36
Commit
f14e3c36
authored
10 months ago
by
Ivica Puljic
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3425790
by pivica: Add block header wrapper to block--system-menu-block template
parent
462065d0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/block/block--system-menu-block.html.twig
+7
-5
7 additions, 5 deletions
templates/block/block--system-menu-block.html.twig
with
7 additions
and
5 deletions
templates/block/block--system-menu-block.html.twig
+
7
−
5
View file @
f14e3c36
...
...
@@ -47,11 +47,13 @@
{%
set
attributes
=
attributes.setAttribute
(
'aria-label'
,
configuration.label
)
%}
{%
endif
%}
<nav
{{
attributes.addClass
(
classes
)
|
without
(
'role'
,
'aria-labelledby'
)
}}
>
{{
title_prefix
}}
{%
if
label
-
%}
<h2
{{
title_attributes.addClass
(
'block__title'
)
}}
>
{{
label
}}
</h2>
{%
-
endif
%}
{{
title_suffix
}}
{%
block
header
%}
{{
title_prefix
}}
{%
if
label
-
%}
<h2
{{
title_attributes.addClass
(
'block__title'
)
}}
>
{{
label
}}
</h2>
{%
-
endif
%}
{{
title_suffix
}}
{%
endblock
%}
{#- Menu. -#}
{%
block
content
-
%}
{{
content
}}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment