Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Chill-project
Chill-Main
Commits
164904b2
Commit
164904b2
authored
Nov 18, 2014
by
Marc Ducobu
Browse files
Several icons in menu section
parent
8f97ace2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Resources/views/Menu/section.html.twig
View file @
164904b2
<li
class=
"nav-link more"
><a
href=
"javascript:void(0)"
>
Sections
</a>
<ul
class=
"submenu min-width"
>
{%
for
route
in
routes
%}
<li><a
href=
"
{{
path
(
route.key
,
args
)
}}
"
><i
class=
"fa fa-
{{
route.icon
}}
"
></i>
{{
route.label
|
trans
}}
</a></li>
<li><a
href=
"
{{
path
(
route.key
,
args
)
}}
"
>
{%
spaceless
%}
{%
for
icon
in
route.icons
%}
<i
class=
"fa fa-
{{
icon
}}
"
></i>
{%
endfor
%}
{%
endspaceless
%}
{{
route.label
|
trans
}}
</a></li>
{%
endfor
%}
</ul>
</li>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment