Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal
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
drupal
Merge requests
!594
Put each entity type table into a details element on admin/config/regional/content-language
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Put each entity type table into a details element on admin/config/regional/content-language
issue/drupal-3210684:3210684-content-language-admin-details
into
9.2.x
Overview
0
Commits
427
Pipelines
0
Changes
1
Closed
Joachim Noreiko
requested to merge
issue/drupal-3210684:3210684-content-language-admin-details
into
9.2.x
3 years ago
Overview
0
Commits
427
Pipelines
0
Changes
1
Expand
Closes
#3210684
0
0
Merge request reports
Viewing commit
3ccf8445
Show latest version
1 file
+
0
−
51
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
3ccf8445
Issue
#3208000
by Gauravmahlawat, mherchel: remove toolbar.html.twig template as
#3174422
is fixed
· 3ccf8445
catch
authored
3 years ago
core/themes/olivero/templates/navigation/toolbar.html.twig deleted
100644 → 0
+
0
−
51
Options
{#
/**
* @file
* Theme override for the administrative toolbar.
*
* @todo Remove this template when https://www.drupal.org/project/drupal/issues/3174422
* is committed.
*
* Available variables:
* - attributes: HTML attributes for the wrapper.
* - toolbar_attributes: HTML attributes to apply to the toolbar.
* - toolbar_heading: The heading or label for the toolbar.
* - tabs: List of tabs for the toolbar.
* - attributes: HTML attributes for the tab container.
* - link: Link or button for the menu tab.
* - trays: Toolbar tray list, each associated with a tab. Each tray in trays
* contains:
* - attributes: HTML attributes to apply to the tray.
* - label: The tray's label.
* - links: The tray menu links.
* - remainder: Any non-tray, non-tab elements left to be rendered.
*
* @see template_preprocess_toolbar()
*
* @ingroup themeable
*/
#}
<div
{{
attributes.addClass
(
'toolbar'
)
}}
>
<nav
{{
toolbar_attributes.addClass
(
'toolbar-bar'
,
'clearfix'
)
}}
>
<h2
class=
"visually-hidden"
>
{{
toolbar_heading
}}
</h2>
{%
for
key
,
tab
in
tabs
%}
{%
set
tray
=
trays
[
key
]
%}
<div
{{
tab.attributes.addClass
(
'toolbar-tab'
)
}}
>
{{
tab.link
}}
{%
apply
spaceless
%}
<div
{{
tray.attributes
}}
>
{%
if
tray.label
%}
<nav
class=
"toolbar-lining clearfix"
role=
"navigation"
aria-label=
"
{{
tray.label
}}
"
>
<h3
class=
"toolbar-tray-name visually-hidden"
>
{{
tray.label
}}
</h3>
{%
else
%}
<nav
class=
"toolbar-lining clearfix"
role=
"navigation"
>
{%
endif
%}
{{
tray.links
}}
</nav>
</div>
{%
endapply
%}
</div>
{%
endfor
%}
</nav>
{{
remainder
}}
</div>
Loading