summaryrefslogtreecommitdiff
path: root/archaeological_context_records/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@proxience.com>2013-07-16 23:44:36 +0000
committerÉtienne Loks <etienne.loks@proxience.com>2013-07-16 23:44:36 +0000
commit21c052fa05d9904bc38b34dab15a1ba2d267db88 (patch)
treee1965bcc39b21643835e2ef265c7f74ea80aef50 /archaeological_context_records/templates
parent72784280ce6cf12397638be1503884be33de69eb (diff)
downloadIshtar-21c052fa05d9904bc38b34dab15a1ba2d267db88.tar.bz2
Ishtar-21c052fa05d9904bc38b34dab15a1ba2d267db88.zip
Fix material type display on sheets
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index 7fd004362..ed4dc3c2f 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -118,11 +118,11 @@
<td class="ref">{{ find.material_type_label }}</td>
{# Displayed as (Patriarche operation code)-(Record unit label)-(material code)-(Finds label indexed by material type). #}
{# or displayed as (Year)-(index)-(Record unit label)-(material code)-(Finds label indexed by material type) #}
- <td class="string">{{ find.material|default:"" }}</td>
+ <td class="string">{{ find.get_last_find.material_type|default:"" }}</td>
<td>{{find.context_record.label}}</td>
<td>{{ find.get_last_find.dating}}</td>{# TODO .all|join:", " ? #}
<td>{{ find.get_last_find.description }}</td>
- <td>{{ find.get_last_find.weight }}</td>
+ <td>{{ find.get_last_find.weight|default:"" }}</td>
<td>{{ find.get_last_find.item_number }}</td>
<td>{{ item.context_record.parcel.short_label }}</td>
<td class='link'><a href="#">{% trans "Details" %}</a></td>