|
|
@ -19,12 +19,17 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% if user %}
|
|
|
|
{% if user %}
|
|
|
|
<a href="#" class="right">
|
|
|
|
<div class="dropdown right">
|
|
|
|
|
|
|
|
<a href="/users/{{ user.id }}">
|
|
|
|
<span>{{ user.username }}</span> <img src="https://cdn.discordapp.com/avatars/{{ user.id }}/{{ user.avatar }}.webp?size=1024">
|
|
|
|
<span>{{ user.username }}</span> <img src="https://cdn.discordapp.com/avatars/{{ user.id }}/{{ user.avatar }}.webp?size=1024">
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<nav class="dropdown-content">
|
|
|
|
<a href="/logout">
|
|
|
|
<a href="/logout">
|
|
|
|
<span>Log out</span>
|
|
|
|
<span>Log out</span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{% else%}
|
|
|
|
{% else%}
|
|
|
|
<a href="/login" class="right">Log in</a>
|
|
|
|
<a href="/login" class="right">Log in</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|