Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
radix-3430485
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
Issue forks
radix-3430485
Commits
b4b2d143
Commit
b4b2d143
authored
10 months ago
by
Sam Summy
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3425352
: Remove Breadcrumb extra classes
parent
54dd222a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
components/breadcrumb/breadcrumb.twig
+3
-3
3 additions, 3 deletions
components/breadcrumb/breadcrumb.twig
with
3 additions
and
3 deletions
components/breadcrumb/breadcrumb.twig
+
3
−
3
View file @
b4b2d143
...
@@ -9,15 +9,15 @@
...
@@ -9,15 +9,15 @@
#}
#}
{%
set
breadcrumb_utility_classes
=
breadcrumb_utility_classes
?
breadcrumb_utility_classes
:
[]
%}
{%
set
breadcrumb_utility_classes
=
breadcrumb_utility_classes
?
breadcrumb_utility_classes
:
[]
%}
{%
set
classes
=
[
{%
set
breadcrumb_
classes
=
[
'breadcrumb'
,
'breadcrumb'
,
]
|
merge
(
breadcrumb_utility_classes
)
%}
]
|
merge
(
breadcrumb_utility_classes
)
%}
{%
set
breadcrumb_attributes
=
breadcrumb_attributes
?:
create_attribute
()
%}
{%
set
breadcrumb_attributes
=
breadcrumb_attributes
?:
create_attribute
()
%}
{%
block
breadcrumb
%}
{%
block
breadcrumb
%}
{%
if
breadcrumb
%}
{%
if
breadcrumb
%}
<nav
{{
breadcrumb_attributes.addClass
(
classes
)
}}
>
<nav
aria-label=
"breadcrumb"
>
<ol
c
lass
=
"
breadcrumb
bg-light py-2 px-3 my-2"
>
<ol
{{
breadcrumb_attributes.addC
lass
(
breadcrumb
_classes
)
}}
>
{%
for
item
in
breadcrumb
%}
{%
for
item
in
breadcrumb
%}
<li
class=
"breadcrumb-item
{{
not
item.url
?
'active'
}}
"
>
<li
class=
"breadcrumb-item
{{
not
item.url
?
'active'
}}
"
>
{%
if
item.url
%}
{%
if
item.url
%}
...
...
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