summaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorprashantsinalkar2018-08-23 16:39:17 +0530
committerprashantsinalkar2018-08-23 16:39:17 +0530
commit2e5f827642f8105786c89737d6606628a77d2fcf (patch)
tree80ca0b89d8ef494bbfc737fb0d5caf730e1577f6 /static
parenta52243eaa661122ad64182b0fa93df8a7aff63fc (diff)
downloadSciPy2018-2e5f827642f8105786c89737d6606628a77d2fcf.tar.gz
SciPy2018-2e5f827642f8105786c89737d6606628a77d2fcf.tar.bz2
SciPy2018-2e5f827642f8105786c89737d6606628a77d2fcf.zip
added new urls
Diffstat (limited to 'static')
-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>