forked from Ruderverein-Donau-Linz/rowt
[TASK] guest user menu ergo
This commit is contained in:
parent
150a86c2f1
commit
c4e3c836e2
@ -101,13 +101,8 @@
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
{% else %}
|
||||
{% if loggedin_user.weight and loggedin_user.sex and loggedin_user.dob %}
|
||||
<a href="/ergo">
|
||||
Ergo
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endif %} {% if loggedin_user.is_admin %}
|
||||
{% endif %}
|
||||
{% if loggedin_user.is_admin %}
|
||||
<a
|
||||
href="/admin/user"
|
||||
class="inline-flex justify-center rounded-md bg-primary-600 mx-1 px-3 py-2 text-sm font-semibold text-white hover:bg-primary-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 cursor-pointer"
|
||||
|
Loading…
x
Reference in New Issue
Block a user