summaryrefslogtreecommitdiff
path: root/archaeological_operations/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-17 13:52:44 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-08-17 13:53:44 +0200
commita39de3c54cf2f76cd40dd83a0f780e8780267c0c (patch)
tree8c0b91b41ceb45dcfc72bb3ac8d55bc1b945089c /archaeological_operations/templates
parent64380cbd4141966848695dc3a8ee52e0acee5e3c (diff)
downloadIshtar-a39de3c54cf2f76cd40dd83a0f780e8780267c0c.tar.bz2
Ishtar-a39de3c54cf2f76cd40dd83a0f780e8780267c0c.zip
Parcels: add public domain field - better management of parcel formsets (refs #2284)
Diffstat (limited to 'archaeological_operations/templates')
-rw-r--r--archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html b/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
index e19b729fe..9885680d7 100644
--- a/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
+++ b/archaeological_operations/templates/ishtar/blocks/window_tables/parcels.html
@@ -11,8 +11,8 @@
{% 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.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>