2017-05-30 20:44:30 +02:00
|
|
|
{% if not href %}
|
|
|
|
{% url url as href %}
|
|
|
|
{% endif %}
|
2017-06-12 01:51:10 +02:00
|
|
|
<li class="{% if not href %}navbar-text{% endif %} {% if request.path == href %}active{% endif %} {{ class }}">
|
2017-05-30 20:44:30 +02:00
|
|
|
{% if href %}
|
|
|
|
<a href="{{ href }}" title="{{ text }}">
|
|
|
|
{% endif %}<!--
|
|
|
|
{% if glyphicon %}
|
|
|
|
--><span class="glyphicon glyphicon-{{ glyphicon }}"></span><!--
|
|
|
|
{% endif %}
|
|
|
|
{% if text %}
|
|
|
|
--><span class="visible-lg-inline">{{ text }}</span><!--
|
|
|
|
{% endif %}
|
|
|
|
-->
|
|
|
|
{% if href %}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</li>
|