summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
blob: e19b729fe5392a8335b58a00d459ad2c5f5301dc (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>{% 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>