diff options
author | Prashant S | 2018-08-23 17:40:00 +0530 |
---|---|---|
committer | GitHub | 2018-08-23 17:40:00 +0530 |
commit | fd8043402a56fe47f47938b3874c93607616a20c (patch) | |
tree | 840a015b9bb62c4b7715212453f1235411f5efb1 /static/website/templates/navbar.html | |
parent | 5fc9c374d7139d8364519a9f28f07be645d62eeb (diff) | |
parent | 83e14c33bae4ef1ad5e8546408caf7232e962c75 (diff) | |
download | SciPy2018-master.tar.gz SciPy2018-master.tar.bz2 SciPy2018-master.zip |
added new html files and views.
Diffstat (limited to 'static/website/templates/navbar.html')
-rw-r--r-- | static/website/templates/navbar.html | 7 |
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> |