Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Render an icon next to the add comment link on exercise page

Roland Geider417b3cf4f6d6
diff --git a/wger/exercises/templates/view.html b/wger/exercises/templates/view.html
index 2ec3db1ba..0b358fb00 100644
--- a/wger/exercises/templates/view.html
+++ b/wger/exercises/templates/view.html
@@ -70,7 +70,12 @@ function custom_modal_init()
<p>
<a href="{% url exercisecomment-add exercise.id %}"
title="{% trans 'Add' %}"
- class="modal-dialog">{% trans "Add new comment" %}</a>
+ class="modal-dialog">
+ <img src="{% static 'images/icons/add.svg' %}"
+ width="16"
+ height="16"
+ alt="{% trans 'Back to overview' %}">
+ {% trans "Add new comment" %}</a>
</p>
{% endif %}