mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Remove link from user data in sidenav.
This commit is contained in:
parent
d7de198302
commit
a978ea5782
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user