Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Don't load the schedule page with AJAX

Roland Geider73204fa6dc45
diff --git a/wger/manager/templates/mobile/schedule/overview.html b/wger/manager/templates/mobile/schedule/overview.html
index 96b730c46..485bdc880 100644
--- a/wger/manager/templates/mobile/schedule/overview.html
+++ b/wger/manager/templates/mobile/schedule/overview.html
@@ -22,13 +22,13 @@ function custom_modal_init()
{% for schedule in schedules %}
<li>
- <a href="{% url 'schedule-view' schedule.id %}">
+ <a href="{% url 'schedule-view' schedule.id %}" data-ajax="false">
<h3>{{ schedule.name }}</h3>
<p>{{ schedule.start_date }}</p>
{% if schedule.is_active %}
<p class="ui-li-aside"><em>{% trans "active" %}</em></p>
{% endif %}
- </a>
+ </a>
</li>
{% empty %}
<li>