Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add button to submit exercise to muscle overview for consistency
Roland Geiderabe024f84013
diff --git a/wger/exercises/templates/muscles/overview.html b/wger/exercises/templates/muscles/overview.htmlindex 938584129..39f75cdbb 100644--- a/wger/exercises/templates/muscles/overview.html+++ b/wger/exercises/templates/muscles/overview.html@@ -108,7 +108,26 @@ $(document).ready(function() {<!--- Side bar+ Side bar-->{% block sidebar %}{% endblock %}+++<!--+ Options+-->+{% block options %}+ {% if user.is_authenticated and not user.userprofile.is_temporary %}+ <a href="{% url 'exercise:exercise:add' %}" class="btn btn-success btn-sm">+ {% trans "Add new exercise" %}+ </a>+ {% else %}+ <a href="#" class="btn btn-success btn-sm disabled">+ {% trans "Add new exercise" %}<br>+ <small>+ {% trans "Only registered users can do this" %}+ </small>+ </a>+ {% endif %}+{% endblock %}