diff options
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 |
commit | 2e4f4fc3ecffb4840ac0e71f29968f62126caa36 (patch) | |
tree | 75987a83ed3ce9c1abd2dcd482e97a010f09d440 | |
parent | 9668991c16d1576412fa2e6e7523368275bdd07f (diff) | |
download | Ishtar-2e4f4fc3ecffb4840ac0e71f29968f62126caa36.tar.bz2 Ishtar-2e4f4fc3ecffb4840ac0e71f29968f62126caa36.zip |
Sheet find: put a warning when displaying a find with attached downstream treatment
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 4 |
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 %} – {% endif %}{{base_find.complete_id}}{% endfor %}</p> |