summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
blob: 9885680d7f4e6a800fadf3042fb2683ff10baf1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{% load i18n %}
<table class='simple'>
  <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>{{parcel.year|default_if_none:"-"}}</td>
    <td>{{parcel.section|default_if_none:"-"}}</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>