Commit 15c500eb authored by Julien Palard's avatar Julien Palard
Browse files

clean

parent 037fa6d7
......@@ -12,7 +12,6 @@
HackInScience
</div>
</a>
{% if user.is_authenticated %}
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="navbarNav">
......@@ -25,19 +24,19 @@
</li>
{% if user.is_staff %}
<li class="nav-item">
<a class="nav-link" href="{% url 'stats' %}" >Stats</a>
<a class="nav-link" href="{% url 'stats' %}">Stats</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'admin:index' %}" >Admin</a>
<a class="nav-link" href="{% url 'admin:index' %}">Admin</a>
</li>
{% endif %}
</ul>
<ul class="navbar-nav navbar-right">
<li class="nav-item">
<a class="nav-link" href="{% url 'about' %}" >About</a>
<a class="nav-link" href="{% url 'about' %}">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'auth_logout' %}" >Log out</a>
<a class="nav-link" href="{% url 'auth_logout' %}">Log out</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
......@@ -46,18 +45,16 @@
<ul class="navbar-nav mr-auto"></ul>
<ul class="navbar-nav navbar-right">
<li class="nav-item">
<a class="nav-link" href="{% url 'about' %}" >About</a>
<a class="nav-link" href="{% url 'about' %}">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'auth_login' %}" >Login</a>
<a class="nav-link" href="{% url 'auth_login' %}">Login</a>
</li>
</ul>
</div><!-- /.navbar-collapse -->
{% endif %}
</nav>
{% endblock %}
{% block body %}
{% endblock %}
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