summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates/ishtar/sheet_basefind.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2022-05-18 16:24:26 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:59 +0100
commitc641fca2bc2bd5c6892b4105325dee99e9da35d6 (patch)
tree5f9012ed94ce2f854d9a349f7264447419cd99d3 /archaeological_finds/templates/ishtar/sheet_basefind.html
parente39f05ef095d9b74853fa177d8ce2a566478dae2 (diff)
downloadIshtar-c641fca2bc2bd5c6892b4105325dee99e9da35d6.tar.bz2
Ishtar-c641fca2bc2bd5c6892b4105325dee99e9da35d6.zip
Syndication - serialization - display sheet find - 2
Diffstat (limited to 'archaeological_finds/templates/ishtar/sheet_basefind.html')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_basefind.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_basefind.html b/archaeological_finds/templates/ishtar/sheet_basefind.html
index c57e0d681..0b56727ca 100644
--- a/archaeological_finds/templates/ishtar/sheet_basefind.html
+++ b/archaeological_finds/templates/ishtar/sheet_basefind.html
@@ -16,8 +16,8 @@
<div class='row'>
{% field_flex_detail "Operation" base_find.context_record.operation first %}
{% field_flex_detail "Archaeological site" base_find.context_record.archaeological_site first %}
- {% field_flex_detail "Context record" base_find.context_record first %}
- {% field_flex "Town" base_find.context_record.town.label_with_areas '' '' first %}
+ {% field_flex_detail "Context record" base_find.context_record.short_label first %}
+ {% field_flex "Town" base_find.context_record.town_label_with_areas '' '' first %}
{% field_flex "Parcel" base_find.context_record.parcel '' '' first %}
{# START discovery dates #}
@@ -48,6 +48,7 @@
{% with item=base_find %}
{% include "ishtar/blocks/sheet_json.html" %}
{% endwith %}
+ {% if not is_external %}
<h3>{% trans "Sheet"%}</h3>
<div class='row'>
{% with item.history_creation_date|date:"SHORT_DATETIME_FORMAT" as creation_date %}
@@ -62,6 +63,7 @@
{% endwith %}{% endwith %}
{% endif %}
</div>
+ {% endif %}
{% if base_find.point_2d or base_find.x or base_find.y or base_find.topographic_localisation %}
{% if base_find.point_2d %}