make forms less problematic

This commit is contained in:
user 2023-06-22 11:54:15 +00:00
parent f2ee0279f0
commit b19dedc568
9 changed files with 42 additions and 43 deletions

View file

@ -50,7 +50,10 @@
<span class="spacer"></span>
{% if current_user.is_authenticated %}
<a href="{{ url_for('views.settings') }}" class="button primary">{{ current_user.username }}</a>
<a href="{{ url_for('views.settings') }}" class="button primary">
{{ current_user.username }}
{% if not current_user.email %}<i class="ph ph-warning"></i>{% endif %}
</a>
{% else %}
<a href="{{ url_for('auth.auth') }}" class="button primary"><i class="ph ph-user-circle"></i></a>
{% endif %}