Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Show an icon for the edit and delete actions on exercise overview

Roland Geiderc32294e13d50
diff --git a/exercises/templates/overview.html b/exercises/templates/overview.html
index f4872d054..ba4d7bf56 100644
--- a/exercises/templates/overview.html
+++ b/exercises/templates/overview.html
@@ -107,11 +107,21 @@ $(document).ready(function() {
<div class="editoptions">
<a href="{% url exercise-edit exercise.id %}"
title="{% trans 'Edit' %}"
- class="modal-dialog">[e]</a>
+ class="modal-dialog">
+ <img src="{% static 'images/icons/edit.svg' %}"
+ width="16"
+ height="16"
+ alt="{% trans 'Edit' %}">
+ </a>
<a href="{% url exercise-delete exercise.id %}"
title="{% trans 'Delete' %}"
- class="delete-exercise">[x]</a>
+ class="delete-exercise">
+ <img src="{% static 'images/icons/trash.svg' %}"
+ width="16"
+ height="16"
+ alt="{% trans 'Delete' %}">
+ </a>
</div>
{% endif %}
</td>