Tidied print templates

This commit is contained in:
David Taylor
2015-08-10 17:44:35 +03:00
committed by Tom Price
parent 8e600c8749
commit 48236680ca
4 changed files with 1 additions and 7 deletions

View File

@@ -1,5 +1,3 @@
{# "field" context should have "title", "description" and "value" #}
{# "children" context should be a string of inner XML #}
<blockTable colWidths="{{currentIndent}},100%" alignment="left" style="objectTable"> <blockTable colWidths="{{currentIndent}},100%" alignment="left" style="objectTable">
<tr> <tr>
<td></td> <td></td>

View File

@@ -1,4 +1,3 @@
{# "field" context should have "title", "description"}
<blockTable colWidths="{{currentIndent}},25,100%" alignment="left" style="checkboxTable"> <blockTable colWidths="{{currentIndent}},25,100%" alignment="left" style="checkboxTable">
<tr> <tr>
<td></td> <td></td>

View File

@@ -1,5 +1,3 @@
{# "field" context should have "title", "description" and "value" #}
{# "children" context should be a string of inner XML #}
<blockTable colWidths="{{currentIndent}},100%" alignment="left" style="objectTable"> <blockTable colWidths="{{currentIndent}},100%" alignment="left" style="objectTable">
<tr> <tr>
<td></td> <td></td>

View File

@@ -1,4 +1,3 @@
{# "field" context should have "title", "description" and "value"}
<blockTable colWidths="{{currentIndent}},100,100%" alignment="left" style="stringTable"> <blockTable colWidths="{{currentIndent}},100,100%" alignment="left" style="stringTable">
<tr> <tr>
<td></td> <td></td>
@@ -7,6 +6,6 @@
<para>{{field.description}}</para> <para>{{field.description}}</para>
</td> </td>
<td> <td>
<para>{{value}}</para></td> <para>{{value|default_if_none:""}}</para></td>
</tr> </tr>
</blockTable> </blockTable>