allow guests to see + upload ergo entries; show ergo menu item for guests

This commit is contained in:
2023-11-03 14:20:58 +01:00
parent 9331b2001d
commit 95e1ea3028
2 changed files with 12 additions and 16 deletions

View File

@ -78,6 +78,12 @@
</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 %}
<a
href="/admin/user"