summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-12 18:42:36 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-12 18:42:36 +0100
commit6a8079dff5578f6f9101d57ff9567e079ec24e6f (patch)
tree209ee729a9560358c46bed59bfbd3573fd30cad6 /archaeological_finds/templates
parentfc5579137bfa56ac7729ea82f28554a3250a0d34 (diff)
downloadIshtar-6a8079dff5578f6f9101d57ff9567e079ec24e6f.tar.bz2
Ishtar-6a8079dff5578f6f9101d57ff9567e079ec24e6f.zip
Admin: add SRS. Find form: fix SRS field.
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 0b4ac227d..40ccdd713 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -200,6 +200,19 @@
{% field_li "Parcel" base_find.context_record.parcel %}
{% field_li_detail "Operation" base_find.context_record.operation %}
{% field_li "Point of topographic reference" base_find.topographic_localisation %}
+
+{% if base_find.x or base_find.y %}
+ <li><label>{% trans "Coordinates:" %}</label>
+ <span class="value">
+ {% trans "X:"%} {{base_find.x|default_if_none:"-"}},
+ {% trans "Y:"%} {{base_find.y|default_if_none:"-"}},
+ {% trans "Z:"%} {{base_find.z|default_if_none:"-"}}
+ {% if base_find.spatial_reference_system %}
+ ({{base_find.spatial_reference_system.label}}{% if base_find.spatial_reference_system.srid %} -
+ {% trans "SRID:"%} {{base_find.spatial_reference_system.srid}}{% endif %})
+ {% endif %}
+ </span>
+{% endif %}
</ul>
{% field "Description" base_find.description "<pre>" "</pre>" %}