diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-07-03 20:55:29 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2011-07-03 20:55:29 +0200 |
| commit | f6dc6ffebbe7c85acb1d19021757abbacf363566 (patch) | |
| tree | a81cef6146f79fdb506c720866e43d705ab65f7c /ishtar/templates | |
| parent | 05a714313fc9500068d93b9b522687cc7498cd2d (diff) | |
| download | Ishtar-f6dc6ffebbe7c85acb1d19021757abbacf363566.tar.bz2 Ishtar-f6dc6ffebbe7c85acb1d19021757abbacf363566.zip | |
Better references for material type (closes #399)
Diffstat (limited to 'ishtar/templates')
| -rw-r--r-- | ishtar/templates/sheet_operation.html | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/ishtar/templates/sheet_operation.html b/ishtar/templates/sheet_operation.html index 5919d8922..1fb2850c1 100644 --- a/ishtar/templates/sheet_operation.html +++ b/ishtar/templates/sheet_operation.html @@ -90,7 +90,7 @@ <td>{{act.signature_date.year}}</td> <td>{{act.ref_sra}}</td> <td class='string'>{{act.act_type}}</td> - <td>{{act.signature_date}}</td> + <td class="string">{{act.signature_date}}</td> </tr> {% empty %} <tr><td colspan="4" class='no_items'>{% trans "No acts associated to this operation" %}</td></tr> @@ -141,7 +141,7 @@ <tr><td colspan="6" class='no_items'>{% trans "No context record associated to this operation" %}</td></tr> {% endfor %} </table> - +<div class='table'> <table> <caption>{%trans "Finds"%}</caption> <tr> @@ -158,19 +158,16 @@ {% for context_record in item.context_record.all %} {% for find in context_record.base_items.all %} <tr> - <td>{{ find.full_label }}</td> + <td class="ref">{{ find.full_label }}</td> {# Displayed as (Patriarche operation code)-(Record unit label)-(Finds label). #} {# or displayed as (Year)-(index)-(Record unit label)-(Finds label). #} - <td>{{ 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.context_record}}</td> - <td>{{ find.get_last_item.dating}}</td>{# TODO .all|join:", " ? #} - <td>{{ find.get_last_item.description }}</td> + <td class="ref">{{ find.material_type_label }}</td> + <td>{{find.context_record.label}}</td> + <td class='string'>{{ find.get_last_item.dating}}</td>{# TODO .all|join:", " ? #} + <td class='string'>{{ find.get_last_item.description }}</td> <td>{{ find.get_last_item.weight }}</td> <td>{{ find.get_last_item.item_number }}</td> - <td>{{ item.context_record.parcel.short_label }}</td> + <td class="ref">{{ 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>#} </tr> @@ -181,6 +178,6 @@ <tr><td colspan="9" class='no_items'>{% trans "No find associated to parcel" %} {{parcel.short_label}} {% trans "(no context record)" %}</td></tr> {% endfor %} </table> - +</div> {% endblock %} |
