summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-12 11:12:04 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-01-12 11:12:04 +0100
commit454dfa2aab2baafdf3fafa96b9c088649ec5a23f (patch)
treec05be38b482d9e72caeadee15abc06997e5cb275 /archaeological_finds/templates
parentb8d1d34feafb626bb4351ffbf7fd7d2d43724c2d (diff)
downloadIshtar-454dfa2aab2baafdf3fafa96b9c088649ec5a23f.tar.bz2
Ishtar-454dfa2aab2baafdf3fafa96b9c088649ec5a23f.zip
Fix treatments views on cyclic treatments (should not happen but...)
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_find.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html
index 05a796a9f..2110a40a7 100644
--- a/archaeological_finds/templates/ishtar/sheet_find.html
+++ b/archaeological_finds/templates/ishtar/sheet_find.html
@@ -111,7 +111,7 @@
</a>
</td>
<td class='string'>{{ treatment.year }} - {{treatment.index}}</td>
- <td class='string'>{{ treatment.label }}</td>
+ <td class='string'>{{ treatment.label|default_if_none:"-" }}</td>
<td class='string'>{{ treatment.treatment_types_lbl }}</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>