{% for start, end, period in periods %}
{% for group in groups %} {% if group.plots %} {# hide empty pages #}
{{ period }}
{{ group.title }}
{% if group.profile %}
{{ group.profile.name }} profile
{% endif %}
{% for site, vo, profile, title in group.plots %}
{{ title|upper }} - {{ values|capfirst }}
{{ values }}
205
{% if forloop.counter|divisibleby:15 and not forloop.last %}
{# close report-row #}
{# close report-page #}
{{ period }}
{{ group.title }}
{% if group.profile %}
{{ group.profile.name }} profile
{% endif %}
{% else %}{% if forloop.counter|divisibleby:3%}
{% endif %}{% endif %} {# not needed if empty pages are hidden #} {# {% empty %} #} {#
There is no data for {{ group.title }} in this period
#} {% endfor %}
{# close report-row #}
{# close report-page #} {% endif %}{% endfor %}
{# close report #} {% endfor %}