Compare commits

...

2 Commits

Author SHA1 Message Date
052628cde2 Fix page numbering 2023-02-22 13:11:59 +00:00
282a7304ca Pad headers slightly 2023-02-22 09:51:54 +00:00
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@
<paraStyle name="style.times" fontName="OpenSans" fontSize="10" />
<paraStyle name="style.head_titles" fontName="OpenSans-Bold" fontSize="10" />
<paraStyle name="style.head_numbers" fontName="OpenSans" fontSize="10" />
<paraStyle name="style.emheader" fontName="OpenSans" textColor="White" fontSize="12" backColor="Brand" leading="20"/>
<paraStyle name="style.emheader" fontName="OpenSans" textColor="White" fontSize="12" backColor="Brand" leading="20" borderPadding="4"/>
<paraStyle name="style.breakbefore" parent="emheader" pageBreakBefore="1"/>
<blockTableStyle id="eventSpecifics">

View File

@@ -4,7 +4,6 @@
<h1 style="page-head">TEC Training Item List</h1>
<spacer length="15" />
{% for category in categories %}
<h2 {% if not forloop.first %}style="breakbefore"{%else%}style="emheader"{%endif%}>{{category}}</h2>
<spacer length="10" />
{% for item in category.items.all %}
@@ -22,4 +21,5 @@
<spacer length="8" />
{% endfor %}
{% endfor %}
<namedString id="lastPage"><pageNumber/></namedString>
{% endblock %}