summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-15 08:37:47 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-15 08:37:47 +0200
commitf61863bf30472daa4e5df1c205e04990cac52c23 (patch)
tree75987a83ed3ce9c1abd2dcd482e97a010f09d440 /archaeological_finds
parent4e1d107f3cb668375669e1efb93065ad77b61786 (diff)
downloadIshtar-f61863bf30472daa4e5df1c205e04990cac52c23.tar.bz2
Ishtar-f61863bf30472daa4e5df1c205e04990cac52c23.zip
Sheet find: put a warning when displaying a find with attached downstream treatment
Diffstat (limited to 'archaeological_finds')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index a78eb7706..db192cc9f 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -9,6 +9,10 @@
{% if item.image %}
<a href='{{item.image.url}}' rel="prettyPhoto" title="{{item.label}}" class='photo'><img src='{{item.thumbnail.url}}'/></a>
{% endif%}
+{% if item.downstream_treatment %}
+<p class='alert'><i class="fa fa-exclamation-triangle" aria-hidden="true"></i>
+ {% trans "This sheet has a downstream treatment: it is related to an old version of the find." %}</p>
+{% endif %}
<p class="window-refs">{{ item.label|default:"" }}</p>
<p class='window-refs'>{% for base_find in item.base_finds.all %}{% if forloop.counter0 %} &ndash; {% endif %}{{base_find.complete_id}}{% endfor %}</p>