Remove link from user data in sidenav.

This commit is contained in:
Patrick Jentsch 2019-07-10 10:56:04 +02:00
parent d7de198302
commit a978ea5782

View File

@ -41,25 +41,21 @@
<li> <li>
<div class="user-view"> <div class="user-view">
<div class="background" style="background-color: #ee6e73;"></div> <div class="background" style="background-color: #ee6e73;"></div>
<a href="#user"><img class="circle" src="{{ url_for('static', filename='images/account_circle.png') }}"></a> <img class="circle" src="{{ url_for('static', filename='images/account_circle.png') }}">
<a href="#name"> <span class="white-text name">
<span class="white-text name"> {% if current_user.is_authenticated %}
{% if current_user.is_authenticated %} {{ current_user.username }}
{{ current_user.username }} {% else %}
{% else %} Unknown
Unknown {% endif %}
{% endif %} </span>
</span> <span class="white-text email">
</a> {% if current_user.is_authenticated %}
<a href="#email"> {{ current_user.email }}
<span class="white-text email"> {% else %}
{% if current_user.is_authenticated %} Unknown
{{ current_user.email }} {% endif %}
{% else %} </span>
Unknown
{% endif %}
</span>
</a>
</div> </div>
</li> </li>
<li><a href="{{ url_for('main.index') }}"><i class="material-icons">opacity</i>Opaque</a></li> <li><a href="{{ url_for('main.index') }}"><i class="material-icons">opacity</i>Opaque</a></li>