Self hosted FLOSS fitness/workout, nutrition and weight tracker
Fix data-ajax attributes on some of the links
Roland Geider7db16885fe12
diff --git a/wger/exercises/templates/mobile/overview.html b/wger/exercises/templates/mobile/overview.htmlindex d3631c628..17a05642c 100644--- a/wger/exercises/templates/mobile/overview.html+++ b/wger/exercises/templates/mobile/overview.html@@ -21,7 +21,7 @@<ul data-role="listview">{% for exercise in category|get_active_exercises:active_languages %}- <li><a href="{{ exercise.get_absolute_url }}">{{ exercise.name }}</a></li>+ <li><a href="{{ exercise.get_absolute_url }}" data-ajax="false">{{ exercise.name }}</a></li>{% endfor %}</ul></div>diff --git a/wger/manager/templates/mobile/navigation.html b/wger/manager/templates/mobile/navigation.htmlindex 97a4b4662..962d033ee 100644--- a/wger/manager/templates/mobile/navigation.html+++ b/wger/manager/templates/mobile/navigation.html@@ -175,7 +175,7 @@<ul data-role="listview" data-inset="false" style="margin-top:2em;" data-theme="d"><li>- <a href="{% url 'login' %}" data-ajax="false">{% trans "Login" %}</a>+ <a href="{% url 'login' %}">{% trans "Login" %}</a></li><li><a href="{% url 'wger.manager.views.user.registration' %}" data-ajax="false">{% trans "Register" %}</a>diff --git a/wger/nutrition/templates/mobile/plan/overview.html b/wger/nutrition/templates/mobile/plan/overview.htmlindex a195190cc..4afe08d64 100644--- a/wger/nutrition/templates/mobile/plan/overview.html+++ b/wger/nutrition/templates/mobile/plan/overview.html@@ -10,7 +10,7 @@<ul data-role="listview" data-inset="false">{% for plan in plans %}<li>- <a href="{% url 'wger.nutrition.views.plan.view' plan.id %}">+ <a href="{% url 'wger.nutrition.views.plan.view' plan.id %}" data-ajax="false"><h3>{{plan}}</h3><p>{{ plan.creation_date }}</p></a>