Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Swap icons for delete and edit so they represent the actual action

Roland Geider0c2ce70e2bc7
diff --git a/manager/templates/tags/render_day.html b/manager/templates/tags/render_day.html
index 2aebfafa7..5f838a105 100644
--- a/manager/templates/tags/render_day.html
+++ b/manager/templates/tags/render_day.html
@@ -83,20 +83,20 @@ $(document).ready(function() {
</span>
<span class="editoptions">
+ <a href="{% url manager.views.edit_setting workout.id set.id exercise.id None %}"
+ title="{% trans "Delete" %}">
+ <img src="{% static "images/icons/trash.svg" %}"
+ width="16"
+ height="16"
+ alt="{% trans 'Delete' %}">
+ </a>
<a href="{% url manager.views.edit_setting workout.id set.id exercise.id None %}"
title="{% trans "Edit" %}"
class="ajax-set-edit">
- <img src="{% static "images/icons/trash.svg" %}"
+ <img src="{% static "images/icons/edit.svg" %}"
width="16"
height="16"
- alt="{% trans 'Delete' %}">
- </a>
- <a href="{% url manager.views.edit_setting workout.id set.id exercise.id None %}"
- title="{% trans "Delete" %}">
- <img src="{% static "images/icons/edit.svg" %}"
- width="16"
- height="16"
- alt="{% trans 'Edit' %}">
+ alt="{% trans 'Edit' %}">
</a>
</span>
@@ -129,4 +129,4 @@ $(document).ready(function() {
</td>
</tr>
</tbody>
-</table>
\ No newline at end of file
+</table>