diff options
author | Étienne Loks <etienne@peacefrogs.net> | 2019-02-07 18:20:11 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2019-04-24 19:38:56 +0200 |
commit | a39df7b6088527faf4108e9a50040e8165ab6a3d (patch) | |
tree | 92b1e3e2650434e5ee40a49b5249f32405b0f699 /archaeological_finds/templates | |
parent | 1b0d2c7558b5cf64a65d05eeba0be8f5c2388bf8 (diff) | |
download | Ishtar-a39df7b6088527faf4108e9a50040e8165ab6a3d.tar.bz2 Ishtar-a39df7b6088527faf4108e9a50040e8165ab6a3d.zip |
Map: manage show detail for simple map
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_basefind.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_basefind.html b/archaeological_finds/templates/ishtar/sheet_basefind.html index 74a2b527e..fa96ddf0e 100644 --- a/archaeological_finds/templates/ishtar/sheet_basefind.html +++ b/archaeological_finds/templates/ishtar/sheet_basefind.html @@ -66,15 +66,14 @@ </div> {% endif %} <h3>{% trans "Map"%}</h3> - {% with geo_item=base_find %} - {% include "ishtar/blocks/sheet_simple_map.html"%} - {% endwith %} - {% if base_find.x or base_find.y or base_find.topographic_localisation %} <div class='row'> + {% with geo_item=base_find %} + {% include "ishtar/blocks/sheet_simple_map.html"%} + {% endwith %} {% field_flex "Point of topographic reference" base_find.topographic_localisation %} - <dl class="col-12 d-flex flex-wrap row"> - <dt class="col-2">{% trans "Coordinates" %}</dt> - <dd class="col-10"> + <dl class="col-12 col-lg-6 d-flex flex-wrap row"> + <dt class="col-4">{% trans "Coordinates" %}</dt> + <dd class="col-8"> {% trans "X:"%} {{base_find.x|default_if_none:"-"}} {% if base_find.estimated_error_x %} ({% trans "error:" %} {{base_find.estimated_error_x}}){% endif %}, {% trans "Y:"%} {{base_find.y|default_if_none:"-"}}, @@ -89,6 +88,5 @@ </dl> </div> {% endif %} - {% endif %} </div> |