Commit b7f08891 authored by Daniel W Bond's avatar Daniel W Bond

navbar link that's long bugged me

parent c0cb4007
......@@ -11,12 +11,13 @@
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="/">Home</a>
{% if user.is_authenticated %}
<li><a href="/housing/buildings">Buildings</a>
</li>
{% else %}
<li><a href="{% url 'about' %}">About</a>
</li>
<li><a href="/housing/buildings">Buildings</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