Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use same div as used in other places when no schedules are found

Roland Geideraf9984385555
diff --git a/manager/templates/index.html b/manager/templates/index.html
index 6c0e434d1..74a4d5858 100644
--- a/manager/templates/index.html
+++ b/manager/templates/index.html
@@ -11,7 +11,11 @@
{% endfor %}
</ul>
{% else %}
- <p>No workouts are available.</p>
+ <div class="box warning">
+ {% trans "No workouts found." %} {% trans "Use link to add one." %}
+ </div>
+
+ <p></p>
{% endif %}
<p><a href="/workout/add">{% trans "Add workout" %}</a></p>
-{% endblock %}
\ No newline at end of file
+{% endblock %}