Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove unneeded nested for loop

Roland Geider4bc6d97253a0
diff --git a/wger/manager/templates/mobile/calendar/month.html b/wger/manager/templates/mobile/calendar/month.html
index 6678fa2f4..aa9d91940 100644
--- a/wger/manager/templates/mobile/calendar/month.html
+++ b/wger/manager/templates/mobile/calendar/month.html
@@ -47,9 +47,6 @@ $(document).ready(function() {
{% block content %}
{{calendar|safe}}
-{% for date in logs %}
-{% regroup logs|get_item:date by exercise as grouped_logs %}
-
{# #}
{# Popups to edit or delete the logs #}
{# #}
@@ -135,7 +132,6 @@ $(document).ready(function() {
</div>
</div>
{% endfor %}
-{% endfor %}
{% endblock %}