diff options
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 |
commit | 9df94fa062e738356070226965e21dfd90a4a3d0 (patch) | |
tree | e1965bcc39b21643835e2ef265c7f74ea80aef50 /archaeological_context_records/templates | |
parent | 748940e2a215bf62adb0e61647d117c94dceb708 (diff) | |
download | Ishtar-9df94fa062e738356070226965e21dfd90a4a3d0.tar.bz2 Ishtar-9df94fa062e738356070226965e21dfd90a4a3d0.zip |
Fix material type display on sheets
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 4 |
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> |