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

navbar link that's long bugged me

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