display name on the page

This commit is contained in:
Evert Prants 2017-10-09 17:39:55 +03:00
parent 4acf500bc8
commit 6a2932f1b3
Signed by: evert
GPG Key ID: 1688DA83D222D0B5

View File

@ -20,7 +20,7 @@
<span class="logo">Episodes<span class="period">.</span>Community</span> <span class="logo">Episodes<span class="period">.</span>Community</span>
<div class="userdata"> <div class="userdata">
{% if request.session.user_id %} {% if request.session.user_id %}
logged in {{ request.session.disp_name }}
{% else %} {% else %}
<a href="/login">Log in</a> <a href="/login">Log in</a>
{% endif %} {% endif %}