mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-29 11:22:15 +00:00
Fix page numbering
This commit is contained in:
@@ -4,7 +4,6 @@
|
|||||||
<h1 style="page-head">TEC Training Item List</h1>
|
<h1 style="page-head">TEC Training Item List</h1>
|
||||||
<spacer length="15" />
|
<spacer length="15" />
|
||||||
{% for category in categories %}
|
{% for category in categories %}
|
||||||
|
|
||||||
<h2 {% if not forloop.first %}style="breakbefore"{%else%}style="emheader"{%endif%}>{{category}}</h2>
|
<h2 {% if not forloop.first %}style="breakbefore"{%else%}style="emheader"{%endif%}>{{category}}</h2>
|
||||||
<spacer length="10" />
|
<spacer length="10" />
|
||||||
{% for item in category.items.all %}
|
{% for item in category.items.all %}
|
||||||
@@ -22,4 +21,5 @@
|
|||||||
<spacer length="8" />
|
<spacer length="8" />
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
<namedString id="lastPage"><pageNumber/></namedString>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user