Commit 2602021e authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE

Adding additional css classes to menu bar and ability to be duplicated

parent f7df62e3
{% load i18n %}
{%if not request.user.is_authenticated %}
<li class="nav-item"><a class="nav-link" href="{% url 'basetheme_bootstrap:login'%}?next={{ request.path|urlencode }}">{% block sign_in_word %}{%trans "Login "%}{% endblock %}<i class="fa fa-sign-in"></i></a></li>
<li class="nav-item {{li_additional_class}}"><a class="nav-link" href="{% url 'basetheme_bootstrap:login'%}?next={{ request.path|urlencode }}">{% block sign_in_word %}{%trans "Login "%}{% endblock %}<i class="fa fa-sign-in"></i></a></li>
{%else%}
<li class="nav-item dropdown">
<li class="nav-item dropdown {{li_additional_class}}">
<a class="nav-link dropdown-toggle"
href="#"
id="dropdown-user"
id="dropdown-user{{suffix_id}}"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"
><i class="fa fa-user-circle-o"></i> <span class="caret"></span></a>
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdown-user">
<div class="dropdown-menu dropdown-menu-right" aria-labelledby="dropdown-user{{suffix_id}}">
{%if request.user.is_staff %}
<a class="dropdown-item" href="/admin/"><i class="fa fa-cogs"></i> {%trans "Admin"%}</a>
<div class="dropdown-divider"></div>
......
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