summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates/ishtar/blocks
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-05-07 10:39:18 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2021-05-07 10:39:18 +0200
commit570e5aad8f16c0c41286ba139887519a7fd7ba92 (patch)
tree3d4bc475576377901d85ae9b72ae956815474c9c /archaeological_operations/templates/ishtar/blocks
parent4a09e2e50f3a6e4b10b8ee45e4f82aaa3f4095a8 (diff)
downloadIshtar-570e5aad8f16c0c41286ba139887519a7fd7ba92.tar.bz2
Ishtar-570e5aad8f16c0c41286ba139887519a7fd7ba92.zip
Sheets: display parcel address
Diffstat (limited to 'archaeological_operations/templates/ishtar/blocks')
-rw-r--r--archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html b/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
index 6e7929ab5..c748b1530 100644
--- a/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
+++ b/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
@@ -6,17 +6,19 @@
<th>{% trans "Town" %}</th>
<th>{% trans "Year" %}</th>
<th>{% trans "Section" %}</th>
- <th>{% trans "Parcels" %}</th>
+ <th>{% trans "Parcel" %}</th>
+ <th>{% trans "Address" %}</th>
{#<th>{% trans "Owner" %}</th>#}
</tr>
</thead>
<tbody>
- {% for parcel in item.grouped_parcels %}
+ {% for parcel in item.parcels.all %}
<tr>
<td class='string'>{{parcel.town}}</td>
<td>{{parcel.year|default_if_none:"-"}}</td>
<td>{{parcel.section|default_if_none:"-"}}</td>
- <td>{{parcel.parcel_numbers|join:", "}}</td>
+ <td>{{parcel.parcel_number|default_if_none:"-"}}</td>
+ <td>{{parcel.address|default_if_none:"-"}}</td>
{#<td class='string'>{{operation.parcel.owner}}</td>#}
</tr>
{% empty %}