From 6a8079dff5578f6f9101d57ff9567e079ec24e6f Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 12 Jan 2017 18:42:36 +0100 Subject: Admin: add SRS. Find form: fix SRS field. --- archaeological_finds/templates/ishtar/sheet_find.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'archaeological_finds/templates') 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 %} +
  • + + {% 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 %} + +{% endif %} {% field "Description" base_find.description "
    " "
    " %} -- cgit v1.2.3