blob: 6e7929ab5b0b29e1b8c6b8aac62e789d785a1622 (
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
|
{% 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 "Parcels" %}</th>
{#<th>{% trans "Owner" %}</th>#}
</tr>
</thead>
<tbody>
{% 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 %}
</tbody>
</table>
|