[TASK] guest user menu ergo

This commit is contained in:
Marie Birner 2023-11-03 14:35:15 +01:00
parent 150a86c2f1
commit c4e3c836e2

View File

@ -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 %}
{% 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"