Self hosted FLOSS fitness/workout, nutrition and weight tracker
Pass correct url parameters in mobile calendar
Roland Geideraafc0c6c4dd7
diff --git a/wger/manager/templates/mobile/workout/calendar.html b/wger/manager/templates/mobile/workout/calendar.htmlindex e9de16239..931b44c4f 100644--- a/wger/manager/templates/mobile/workout/calendar.html+++ b/wger/manager/templates/mobile/workout/calendar.html@@ -204,7 +204,7 @@ you can click on them to see the details.{% endblocktrans %}</p></p><h3>{% trans 'Log' %}</h3>- <a href="{% url 'manager:workout:calendar' uid %}" class="btn btn-default btn-block">+ <a href="{% url 'manager:workout:calendar' owner_user %}" class="btn btn-default btn-block"><img src="{% static 'images/icons/calendar.svg' %}"width="32"height="32"@@ -230,11 +230,11 @@ you can click on them to see the details.{% endblocktrans %}</p></a>{% endifchanged %}{% if current_month = date.month and current_year = date.year %}- <a href="{% url 'manager:workout:calendar' uid date.year date.month %}" class="list-group-item wger-list-group-item">+ <a href="{% url 'manager:workout:calendar' owner_user date.year date.month %}" class="list-group-item wger-list-group-item"><em>{{date|date:"F"}}</em></a>{% else %}- <a href="{% url 'manager:workout:calendar' uid date.year date.month %}" class="list-group-item wger-list-group-item">+ <a href="{% url 'manager:workout:calendar' owner_user date.year date.month %}" class="list-group-item wger-list-group-item"><span class="glyphicon glyphicon-chevron-right pull-right"></span>{{date|date:"F"}}</a>