summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
blob: c748b1530c447877d8fffdc6f531523e57133c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% load i18n %}
<h3>{{ parcels_label }}</h3>
<table class="table table-striped">
  <thead>
      <tr>
        <th>{% trans "Town" %}</th>
        <th>{% trans "Year" %}</th>
        <th>{% trans "Section" %}</th>
        <th>{% trans "Parcel" %}</th>
        <th>{% trans "Address" %}</th>
        {#<th>{% trans "Owner" %}</th>#}
      </tr>
  </thead>
  <tbody>
  {% 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_number|default_if_none:"-"}}</td>
    <td>{{parcel.address|default_if_none:"-"}}</td>
    {#<td class='string'>{{operation.parcel.owner}}</td>#}
  </tr>
  {% empty %}
  <tr><td colspan="4" class='no_items'>{% trans "No parcel" %}</td></tr>
  {% endfor %}
  </tbody>
</table>