summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-06 19:37:49 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-02-06 19:37:49 +0100
commit063e9c328a6e57685fd70629584553efccf7dbb3 (patch)
treeeb1e9c65aea4f12b89ef5c6607311cdb29c828a3
parent445a8bca2f062f34849eb29646f06daccd018b26 (diff)
downloadIshtar-063e9c328a6e57685fd70629584553efccf7dbb3.tar.bz2
Ishtar-063e9c328a6e57685fd70629584553efccf7dbb3.zip
Find sheet: display treatment states in treatment table
-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 bb2e629c7..4ae6dbffe 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -95,6 +95,7 @@
<th>{% trans "Year - index" %}</th>
<th>{% trans "Label" %}</th>
<th>{% trans "Type" %}</th>
+ <th>{% trans "State" %}</th>
<th>{% trans "Related finds (max. 15 displayed)" %}</th>
<th>{% trans "Doer" %}</th>
<th>{% trans "Container" %}</th>
@@ -112,6 +113,7 @@
<td class='string'>{{ treatment.year }} - {{treatment.index}}</td>
<td class='string'>{{ treatment.label|default_if_none:"-" }}</td>
<td class='string'>{{ treatment.treatment_types_lbl }}</td>
+ <td class='string'>{{ treatment.treatment_state|default_if_none:"-" }}</td>
<td class='item-list'>{% for item in items %}<span>{{item}} {{ item|link_to_window}}</span>{% endfor %}</td>
<td class='string'>{{ treatment.person|default_if_none:"-" }}</td>
<td class='string'>{{ treatment.container|default_if_none:"-" }}</td>
@@ -135,6 +137,7 @@
<th>{% trans "Year - index" %}</th>
<th>{% trans "Label" %}</th>
<th>{% trans "Type" %}</th>
+ <th>{% trans "State" %}</th>
<th>{% trans "Related finds (max. 15 displayed)" %}</th>
<th>{% trans "Doer" %}</th>
<th>{% trans "Container" %}</th>
@@ -152,6 +155,7 @@
<td class='string'>{{ treatment.year }} - {{treatment.index}}</td>
<td class='string'>{{ treatment.label }}</td>
<td class='string'>{{ treatment.treatment_types_lbl }}</td>
+ <td class='string'>{{ treatment.treatment_state|default_if_none:"-" }}</td>
<td class='item-list'>{% for item in items %}<span>{{item}} {{ item|link_to_window}}</span>{% endfor %}</td>
<td class='string'>{{ treatment.person|default_if_none:"" }}</td>
<td class='string'>{{ treatment.container|default_if_none:"-" }}</td>