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,8 +41,7 @@
<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 }}
@ -50,8 +49,6 @@
Unknown Unknown
{% endif %} {% endif %}
</span> </span>
</a>
<a href="#email">
<span class="white-text email"> <span class="white-text email">
{% if current_user.is_authenticated %} {% if current_user.is_authenticated %}
{{ current_user.email }} {{ current_user.email }}
@ -59,7 +56,6 @@
Unknown Unknown
{% endif %} {% endif %}
</span> </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>