Commit 894ae568 authored by Recteur LP's avatar Recteur LP

Let plugin choose menu icon class

parent 108b0f2e
Pipeline #839 passed with stages
in 13 minutes and 25 seconds
......@@ -11,7 +11,7 @@
{%- if link.childs -%}
<li class="treeview{% if active_page == "{{ link.active }}" %} active {%- endif -%}">
<a href="{{ link.href }}">
<i class="fas {{ link.icon }}"></i>
<i class="{{ link.icon }}"></i>
<span class="nav-label">{{ link.label }}</span>
<span class="pull-right-container">
<i class="fas fa-angle-left pull-right"></i>
......@@ -21,7 +21,7 @@
{% for child in link.childs %}
<li>
<a href="{{ child.href }}">
<i class="fas {{ child.icon }}"></i>
<i class="{{ child.icon }}"></i>
<span class="nav-label">{{ child.label }}</span>
{%- if child.childs -%}
<span class="pull-right-container">
......@@ -31,7 +31,7 @@
<ul class="treeview-menu">
{% for schild in child.childs %}
<li>
<a href="{{ schild.href }}"><i class="fas {{ schild.icon }}"></i> {{ schild.label }}</a>
<a href="{{ schild.href }}"><i class="{{ schild.icon }}"></i> {{ schild.label }}</a>
</li>
{% endfor %}
</ul>
......@@ -45,7 +45,7 @@
{%- else -%}
<li class="treeview{% if active_page == "{{ link.active }}" %} active{%- endif -%} ">
<a href="{{ link.href }}">
<i class="fas {{ link.icon }}"></i>
<i class="{{ link.icon }}"></i>
<span class="nav-label">{{ link.label }}</span>
</a>
</li>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment