summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates
diff options
context:
space:
mode:
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
commit38f7e9685df66772253a4eb1cd6d53a9d461a937 (patch)
tree6a132db71c7a30abf475fdeaf7a8f0afc2bb2eae /archaeological_operations/templates
parent6c225450c36c0fb58df61dd641f25fa78db2c7a5 (diff)
downloadIshtar-38f7e9685df66772253a4eb1cd6d53a9d461a937.tar.bz2
Ishtar-38f7e9685df66772253a4eb1cd6d53a9d461a937.zip
Operation sheet: group parcels by sections - add parcels to File sheet (refs #1193)
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operation.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html
index 1698f0224..491304125 100644
--- a/archaeological_operations/templates/ishtar/sheet_operation.html
+++ b/archaeological_operations/templates/ishtar/sheet_operation.html
@@ -61,15 +61,15 @@
<th>{% trans "Commune" %}</th>
<th>{% trans "Year" %}</th>
<th>{% trans "Section" %}</th>
- <th>{% trans "Parcel" %}</th>
+ <th>{% trans "Parcels" %}</th>
{#<th>{% trans "Owner" %}</th>#}
</tr>
- {% for parcel in item.parcels.all %}
+ {% for parcel in item.grouped_parcels %}
<tr>
<td class='string'>{{parcel.town}}</td>
<td>{{parcel.year}}</td>
<td>{{parcel.section}}</td>
- <td>{{parcel.parcel_number}}</td>
+ <td>{{parcel.parcel_numbers|join:", "}}</td>
{#<td class='string'>{{operation.parcel.owner}}</td>#}
</tr>
{% empty %}
@@ -78,7 +78,7 @@
</table>
<table>
- <caption>{%trans "Admninistrative acts"%}</caption>
+ <caption>{%trans "Administrative acts"%}</caption>
<tr>
<th>{% trans "Year" %}</th>
<th>{% trans "Reference" %}</th>