Self hosted FLOSS fitness/workout, nutrition and weight tracker
Remove whitespaces from icon links
Roland Geider6c018e7b6095
diff --git a/wger/manager/templates/tags/render_day.html b/wger/manager/templates/tags/render_day.htmlindex 50f279b48..04605a751 100644--- a/wger/manager/templates/tags/render_day.html+++ b/wger/manager/templates/tags/render_day.html@@ -27,23 +27,20 @@ $(document).ready(function() {<img src="{% static 'images/icons/trash.svg' %}"width="22"height="22"- alt="{% trans 'Delete' %}">- </a>+ alt="{% trans 'Delete' %}"></a><a href="{% url 'manager:day:edit' day.obj.id %}"title="{% trans 'Edit' %}"class="wger-modal-dialog"><img src="{% static 'images/icons/edit.svg' %}"width="22"height="22"- alt="{% trans 'Edit' %}">- </a>+ alt="{% trans 'Edit' %}"></a><a href="{% url 'manager:day:log' day.obj.id %}"title="{% trans 'Add weight log to this day' %}"><img src="{% static 'images/icons/statistics.svg' %}"width="22"height="22"- alt="{% trans 'Add weight log to this day' %}">- </a>+ alt="{% trans 'Add weight log to this day' %}"></a></span>{% endif %}</th>diff --git a/wger/manager/templates/workout/calendar.html b/wger/manager/templates/workout/calendar.htmlindex bc68556ca..6417c15f4 100644--- a/wger/manager/templates/workout/calendar.html+++ b/wger/manager/templates/workout/calendar.html@@ -78,16 +78,14 @@ $(document).ready(function() {<img src="{% static 'images/icons/trash.svg' %}"width="16"height="16"- alt="{% trans 'Delete' %}">- </a>+ alt="{% trans 'Delete' %}"></a><a href="{% url 'manager:log:edit' log.pk %}"title="{% trans 'Edit' %}"class="wger-modal-dialog"><img src="{% static 'images/icons/edit.svg' %}"width="16"height="16"- alt="{% trans 'Edit' %}">- </a>+ alt="{% trans 'Edit' %}"></a></span></li>{% endfor %}diff --git a/wger/nutrition/templates/ingredient/view.html b/wger/nutrition/templates/ingredient/view.htmlindex a0087c80f..6cb77f489 100644--- a/wger/nutrition/templates/ingredient/view.html+++ b/wger/nutrition/templates/ingredient/view.html@@ -247,8 +247,7 @@ the search.{% endblocktrans %}width="16"height="16"alt="{% trans 'Edit' %}"- title="{% trans 'Edit' %}">- </a>+ title="{% trans 'Edit' %}"></a><a href="{% url 'nutrition:unit_ingredient:delete' unit.id %}"title="{% trans 'Delete' %}"{% auto_link_css flavour "wger-modal-dialog" %}>@@ -256,8 +255,7 @@ the search.{% endblocktrans %}width="16"height="16"alt="{% trans 'Delete' %}"- title="{% trans 'Delete' %}">- </a>+ title="{% trans 'Delete' %}"></a></span></td></tr>diff --git a/wger/nutrition/templates/plan/view.html b/wger/nutrition/templates/plan/view.htmlindex fd9dda089..22dbdce14 100644--- a/wger/nutrition/templates/plan/view.html+++ b/wger/nutrition/templates/plan/view.html@@ -61,8 +61,7 @@ function custom_modal_init()width="16"height="16"alt="{% trans 'Delete meal' %}"- title="{% trans 'Delete meal' %}">- </a>+ title="{% trans 'Delete meal' %}"></a><a href="{% url 'nutrition:meal:edit' meal.id %}"title="{% trans 'Edit' %}"class="wger-modal-dialog">@@ -70,8 +69,7 @@ function custom_modal_init()width="16"height="16"alt="{% trans 'Edit meal' %}"- title="{% trans 'Edit meal' %}">- </a>+ title="{% trans 'Edit meal' %}"></a><a href="{% url 'nutrition:meal_item:add' meal.id %}"title="{% trans 'Add' %}"class="wger-modal-dialog edit-meal">@@ -79,8 +77,7 @@ function custom_modal_init()width="16"height="16"alt="{% trans 'Add item to meal' %}"- title="{% trans 'Add item to meal' %}">- </a>+ title="{% trans 'Add item to meal' %}"></a></div></td>{% endifchanged %}@@ -98,16 +95,14 @@ function custom_modal_init()<img src="{% static 'images/icons/trash.svg' %}"width="16"height="16"- alt="{% trans 'Delete' %}">- </a>+ alt="{% trans 'Delete' %}"></a><a href="{% url 'nutrition:meal_item:edit' item.id %}"title="{% trans 'Edit' %}"class="wger-modal-dialog edit-meal edit-mealitem"><img src="{% static 'images/icons/edit.svg' %}"width="16"height="16"- alt="{% trans 'Edit' %}">- </a>+ alt="{% trans 'Edit' %}"></a></span></td><td class="align-right">{{item.get_nutritional_values.energy|floatformat}}</td>