Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

For more consistence, use a listview when workout has no days

Roland Geider88fbccef37a6
diff --git a/wger/manager/templates/mobile/workout/view.html b/wger/manager/templates/mobile/workout/view.html
index 7a45b81f0..00f766ee2 100644
--- a/wger/manager/templates/mobile/workout/view.html
+++ b/wger/manager/templates/mobile/workout/view.html
@@ -51,11 +51,14 @@ $( document ).off("pageinit").on("pageinit", function() {
</div>
{% empty %}
-<a href="{% url 'day-add' workout.id %}"
- data-role="button">
-{% trans "No days for this workout." %}<br>
-{% trans "Add training day." %}
-</a>
+ <ul data-role="listview" data-inset="false">
+ <li>
+ <a href="{% url 'day-add' workout.id %}">
+ {% trans "No days for this workout." %}<br>
+ {% trans "Add training day." %}
+ </a>
+ </li>
+ </ul>
{% endfor %}