diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-04 18:48:14 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-04 18:48:14 +0200 |
commit | ca96ba913e423f94f017ab9fd2530e6e4d480f3d (patch) | |
tree | 6a132db71c7a30abf475fdeaf7a8f0afc2bb2eae /archaeological_files/templates/ishtar/sheet_file.html | |
parent | 3f038c77f4017a1ef7c1fbed8f5dc5daef2371c7 (diff) | |
download | Ishtar-ca96ba913e423f94f017ab9fd2530e6e4d480f3d.tar.bz2 Ishtar-ca96ba913e423f94f017ab9fd2530e6e4d480f3d.zip |
Operation sheet: group parcels by sections - add parcels to File sheet (refs #1193)
Diffstat (limited to 'archaeological_files/templates/ishtar/sheet_file.html')
-rw-r--r-- | archaeological_files/templates/ishtar/sheet_file.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html index 1b58aa332..bdf0bd4ff 100644 --- a/archaeological_files/templates/ishtar/sheet_file.html +++ b/archaeological_files/templates/ishtar/sheet_file.html @@ -63,6 +63,28 @@ {% endif %} <table> + <caption>{%trans "Associated parcels"%}</caption> + <tr> + <th>{% trans "Commune" %}</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>{{parcel.year}}</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 associated to this operation" %}</td></tr> + {% endfor %} +</table> + +<table> <caption>{%trans "Admninistrative acts"%}</caption> <tr> <th>{% trans "Year" %}</th> |