We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2504f3c commit d726f7fCopy full SHA for d726f7f
2 files changed
app/static/images/logout.png
953 Bytes
app/templates/base.html
@@ -36,7 +36,12 @@
36
{% if current_user.is_authenticated %}
37
<li><a href="{{ url_for('update') }}">Update</a></li>
38
<li><a href=" {{ url_for('help') }} ">Need Help?</a></li>
39
- <li><a href="{{ url_for('logout') }}">Logout</a></li>
+ <li>
40
+ <a href="{{ url_for('logout') }}">
41
+ {{ current_user.username }}
42
+ <img class="img-fluid" style="height: 20px; width: 20px;" src=" {{ url_for('static', filename='images/logout.png') }} " alt="Logout">
43
+ </a>
44
+ </li>
45
{% else %}
46
<li><a href=" {{ url_for('login') }} ">Login</a></li>
47
{% endif %}
0 commit comments