Files
@ 3d5ed5c5160a
Branch filter:
Location: symposion_app/pinaxcon/templates/sitetree_header.html - annotation
3d5ed5c5160a
1.1 KiB
text/html
Turn review jobs back on
Use a new "rego-review" namespace to not interfere with the dev instance.
Use a new "rego-review" namespace to not interfere with the dev instance.
4f106a0cd4cd 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 e86a811f3863 4d15cbf85c48 e86a811f3863 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 e86a811f3863 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 4d15cbf85c48 | {% load sitetree %}
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav ml-auto">
{% for item in sitetree_items %}
{% if not forloop.first %}
{% if item.has_children %}
<li class="nav-item mx-3 dropdown {% if item.is_current or item.in_current_branch %}active{% endif %}">
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ item.title_resolved }} {% if item.is_current or item.in_current_branch %}<span class="sr-only">(current)</span>{% endif %}
</a>
<div class="dropdown-menu">
{% sitetree_children of item for menu template "sitetree_children.html" %}
</div>
</li>
{% else %}
<li class="nav-item mx-3 {% if item.has_children %}dropdown}{% endif %} {% if item.is_current or item.in_current_branch %}active{% endif %}">
<a class="nav-link" href="{% sitetree_url for item %}">
{{ item.title_resolved }} {% if item.is_current or item.in_current_branch %}<span class="sr-only">(current)</span>{% endif %}
</a>
</li>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</div>
|