Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

fix calendar accordion

bbk73f803f063ac
diff --git a/wger/manager/templates/calendar/month.html b/wger/manager/templates/calendar/month.html
index b80e968e0..2e046e40c 100644
--- a/wger/manager/templates/calendar/month.html
+++ b/wger/manager/templates/calendar/month.html
@@ -1,5 +1,5 @@
{% extends "base.html" %}
-{% load i18n static wger_extras %}
+{% load l10n i18n static wger_extras %}
{# #}
@@ -159,6 +159,7 @@ you can click on them to see the details.{% endblocktranslate %}</p>
{% regroup month_list by year as year_list %}
+{% localize off %}
<div class="panel-group" id="accordion">
{% for year in year_list reversed %}
<div class="panel panel-default">
@@ -179,6 +180,7 @@ you can click on them to see the details.{% endblocktranslate %}</p>
</div>
{% endfor %}
</div>
+{% endlocalize %}
{% endblock %}