diff options
| 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 |
| commit | cb9433afd0f7726c8ffd8174dd1a0501c2b7bb77 (patch) | |
| tree | 209ee729a9560358c46bed59bfbd3573fd30cad6 /archaeological_finds/templates | |
| parent | a284cfd414663d878a01ab7cbcb1c25d3a45fcfe (diff) | |
| download | Ishtar-cb9433afd0f7726c8ffd8174dd1a0501c2b7bb77.tar.bz2 Ishtar-cb9433afd0f7726c8ffd8174dd1a0501c2b7bb77.zip | |
Admin: add SRS. Find form: fix SRS field.
Diffstat (limited to 'archaeological_finds/templates')
| -rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 13 |
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>" %} |
