diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2014-07-21 12:11:57 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2014-07-21 12:11:57 +0200 |
commit | 0cc64347e47a0c3117bb4514e6b966f651f552f4 (patch) | |
tree | 73d8ae28de7795a9df8e7b6d1c99cc2d953ef306 /archaeological_operations/templates/ishtar/blocks | |
parent | 43f8b097420d610522eee8e80d48282b0ef1fcf9 (diff) | |
download | Ishtar-0cc64347e47a0c3117bb4514e6b966f651f552f4.tar.bz2 Ishtar-0cc64347e47a0c3117bb4514e6b966f651f552f4.zip |
Improve layout of parcels
Diffstat (limited to 'archaeological_operations/templates/ishtar/blocks')
-rw-r--r-- | archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html b/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html new file mode 100644 index 000000000..06a1fa7b1 --- /dev/null +++ b/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html @@ -0,0 +1,22 @@ +{% load i18n %} +<table> + <caption>{{ parcels_label }}</caption> + <tr> + <th>{% trans "Town" %}</th> + <th>{% trans "Year" %}</th> + <th>{% trans "Section" %}</th> + <th>{% trans "Parcels" %}</th> + {#<th>{% trans "Owner" %}</th>#} + </tr> + {% for parcel in item.grouped_parcels %} + <tr> + <td class='string'>{{parcel.town}}</td> + <td>{% if parcel.year %}{{parcel.year}}{% endif %}</td> + <td>{{parcel.section}}</td> + <td>{{parcel.parcel_numbers|join:", "}}</td> + {#<td class='string'>{{operation.parcel.owner}}</td>#} + </tr> + {% empty %} + <tr><td colspan="4" class='no_items'>{% trans "No parcel" %}</td></tr> + {% endfor %} +</table> |