Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add link to create schedules if none are found

Roland Geider3392ad5b2000
diff --git a/wger/manager/templates/mobile/schedule/overview.html b/wger/manager/templates/mobile/schedule/overview.html
index 3394f6a84..96b730c46 100644
--- a/wger/manager/templates/mobile/schedule/overview.html
+++ b/wger/manager/templates/mobile/schedule/overview.html
@@ -30,6 +30,13 @@ function custom_modal_init()
{% endif %}
</a>
</li>
+ {% empty %}
+ <li>
+ <a href="{% url 'schedule-add' %}">
+ {% trans "No schedules found." %}<br>
+ {% trans "Add one now." %}
+ </a>
+ </li>
{% endfor %}
</ul>
{% endblock %}