diff options
Diffstat (limited to 'ishtar_common/templates/sheet_contextrecord.html')
-rw-r--r-- | ishtar_common/templates/sheet_contextrecord.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ishtar_common/templates/sheet_contextrecord.html b/ishtar_common/templates/sheet_contextrecord.html index c2b94bafe..806b06288 100644 --- a/ishtar_common/templates/sheet_contextrecord.html +++ b/ishtar_common/templates/sheet_contextrecord.html @@ -109,7 +109,7 @@ <th>{% trans "Parcel" %}</th> <th class='link'> </th> </tr> - {% for find in item.base_items.all %} + {% for find in item.base_finds.all %} <tr> <td>{{ find.full_label }}</td> {# Displayed as (Patriarche operation code)-(Record unit label)-(Finds label). #} @@ -119,10 +119,10 @@ {# or displayed as (Year)-(index)-(Record unit label)-(material code)-(Finds label indexed by material type) #} <td class='string'>{{find.context_record}}</td> - <td>{{ find.get_last_item.dating}}</td>{# TODO .all|join:", " ? #} - <td>{{ find.get_last_item.description }}</td> - <td>{{ find.get_last_item.weight }}</td> - <td>{{ find.get_last_item.item_number }}</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.item_number }}</td> <td>{{ item.context_record.parcel.short_label }}</td> <td class='link'><a href="#">{% trans "Details" %}</a></td> {#<a href="#" onclick='load_window("{% url show-find find.pk%}");'>{%trans "Details"%}</a></td>#} |