Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Set the correct alt and title attributes for the images

Roland Geider6baf71b547b2
diff --git a/manager/templates/index.html b/manager/templates/index.html
index d332a0660..cf69f297b 100644
--- a/manager/templates/index.html
+++ b/manager/templates/index.html
@@ -97,8 +97,8 @@
<img src="{% static 'images/icons/new.svg' %}"
width="32"
height="32"
- alt="{% trans 'Add new exercise' %}"
- title="{% trans 'Add new exercise' %}">
+ alt="{% trans 'Add workout' %}"
+ title="{% trans 'Add workout' %}">
{% trans "Add workout" %}</a>
</p>
</div>
@@ -110,8 +110,8 @@
<img src="{% static 'images/icons/new.svg' %}"
width="32"
height="32"
- alt="{% trans 'Add new exercise' %}"
- title="{% trans 'Add new exercise' %}">
+ alt="{% trans 'Add nutrition plan' %}"
+ title="{% trans 'Add nutrition plan' %}">
{% trans "Add nutrition plan" %}</a>
</p>
</div>
@@ -121,12 +121,11 @@
<p>
<em>{% trans "After adding a workout or a nutritional plan, you can edit them to set a goal." %}</em>
</p>
-
{% endblock %}
-{% block sidebar %}
+{% block sidebar %}
<h3>{% trans "Options" %}</h3>
<p>
<a href="{% url manager.views.preferences %}">
@@ -137,7 +136,4 @@
title="{% trans 'My preferences' %}">
{% trans "My preferences" %}</a>
</p>
-
-{% endblock %}
-
-
+{% endblock %}
\ No newline at end of file