fix up month, etc. view not having proper divs for heading rows

This commit is contained in:
2021-01-31 18:32:30 +11:00
parent 24437a5589
commit 282c5ae721

View File

@@ -92,12 +92,12 @@
{% endif %} {% endif %}
{% elif which == "Month" %} {% elif which == "Month" %}
{% if last.printed != obj.file_details[0].woy %} {% if last.printed != obj.file_details[0].woy %}
<h6>Week #: {{obj.file_details[0].woy}} of {{obj.file_details[0].year}}</h6></div><div class="row"> </div><h6>Week #: {{obj.file_details[0].woy}} of {{obj.file_details[0].year}}</h6></div><div class="row">
{% set last.printed = obj.file_details[0].woy %} {% set last.printed = obj.file_details[0].woy %}
{% endif %} {% endif %}
{% elif which == "Year" %} {% elif which == "Year" %}
{% if last.printed != obj.file_details[0].month %} {% if last.printed != obj.file_details[0].month %}
<h6>Month: {{obj.file_details[0].month}} of {{obj.file_details[0].year}}</h6></div><div class="row"> </div><h6>Month: {{obj.file_details[0].month}} of {{obj.file_details[0].year}}</h6></div><div class="row">
{% set last.printed = obj.file_details[0].month %} {% set last.printed = obj.file_details[0].month %}
{% endif %} {% endif %}
{% endif %} {% endif %}