summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html')
-rw-r--r--archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html22
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>