Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dic-global-dev
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Manzar Hussain
dic-global-dev
Commits
a18ce59b
Commit
a18ce59b
authored
Jan 14, 2021
by
Manzar Hussain
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-theme' into 'develop'
add level check See merge request manzarH/dic-global-dev!375
parents
23e4b931
55c3be3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
menu--si.html.twig
themes/custom/envigo/templates/navigation/menu--si.html.twig
+2
-1
No files found.
themes/custom/envigo/templates/navigation/menu--si.html.twig
View file @
a18ce59b
...
...
@@ -47,12 +47,13 @@
]
%}
<li
{{
item.attributes.addClass
(
classes
)
}}
>
{%
if
item.below
%}
{%
if
menu_level
==
0
%}
<a
href=
"javascript:void(0);"
>
{{
item.title
}}
<span>
<i
class=
"fa fa-plus"
aria-hidden=
"true"
></i>
<i
class=
"fa fa-minus"
aria-hidden=
"true"
></i>
</span>
</a>
{{
menus.menu_links
(
item.below
,
attributes
,
menu_level
+
1
)
}}
{%
else
%}
{{
link
(
item.title
,
item.url
)
}}
...
...
Write
Preview
Markdown
is supported
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