Self hosted FLOSS fitness/workout, nutrition and weight tracker
Show the add entry button only to owners
Roland Geiderce6f18d62635
diff --git a/wger/weight/templates/overview.html b/wger/weight/templates/overview.htmlindex cd7e6472a..57f4bd527 100644--- a/wger/weight/templates/overview.html+++ b/wger/weight/templates/overview.html@@ -83,11 +83,13 @@{# Side bar #}{# #}{% block sidebar %}+{% if is_owner %}<p><a href="{% url 'weight:add' %}" class="btn btn-success btn-sm wger-modal-dialog">{% trans "Add weight entry" %}</a></p>+{% endif %}{% endblock %}