Commit 9fac32be authored by Daniel W Bond's avatar Daniel W Bond

now that additional portions of the site are browsable, add them to the unauthenticated navbar

parent 6eb6b3c7
......@@ -11,13 +11,12 @@
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
{% if user.is_authenticated %}
{% if not user.is_authenticated %}
<li><a href="{% url 'about' %}">About</a>
{% endif %}
<li><a href="{% url 'list_buildings' %}">Buildings</a></li>
<li><a href="{% url 'list_majors' %}">Majors</a></li>
{% else %}
<li><a href="{% url 'about' %}">About</a>
</li>
{% endif %}
</ul>
<ul class="nav navbar-nav navbar-right">
{% if user.is_authenticated %}
......
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