summaryrefslogtreecommitdiff
path: root/static/website/templates/navbar.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/website/templates/navbar.html')
-rw-r--r--static/website/templates/navbar.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/static/website/templates/navbar.html b/static/website/templates/navbar.html
index 14a8ccd..3eef776 100644
--- a/static/website/templates/navbar.html
+++ b/static/website/templates/navbar.html
@@ -38,13 +38,14 @@
<li><a data-scroll href="{{SITE_URL}}/#photos">Photos</a></li>
<li><a data-scroll href="{{SITE_URL}}/#team">Team</a></li>
{% if user.is_authenticated %}
- <li><a href="{% url 'login' %}"><i class="fa fa-user" aria-hidden="true"></i>
+ <li><a href=""><i class="fa fa-user" aria-hidden="true"></i>
{{ user.username }}!</a></li>
- <li><a href="{% url 'logout' %}">logout</a></li>
+ <li><a href="{% url 'auth:logout' %}?next=/">logout</a></li>
{% else %}
- <li><a href="{% url 'login' %}">login</a></li>
+ <li><a href="{% url 'auth:login' %}">login</a></li>
{% endif %}
</ul>
+
</div>
</div><!-- /.container -->
</nav>