summaryrefslogtreecommitdiff
path: root/archaeological_context_records/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-07-17 01:16:33 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-07-17 01:19:45 +0200
commit29601ea7460e8489426d36fe734bdd81bed11bcc (patch)
tree256b6c3a0ffa31d05e01bbc1b12a43bab4d52008 /archaeological_context_records/templates
parent87f02bed4a257e0ac5c92ce7df7f39234d42ce61 (diff)
downloadIshtar-29601ea7460e8489426d36fe734bdd81bed11bcc.tar.bz2
Ishtar-29601ea7460e8489426d36fe734bdd81bed11bcc.zip
Better display of finds in sheets
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r--archaeological_context_records/templates/ishtar/sheet_contextrecord.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
index d8e06f022..7fd004362 100644
--- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
+++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html
@@ -100,8 +100,9 @@
<caption>{%trans "Finds"%}</caption>
<tr>
<th>{% trans "Find" %}</th>
+ <th>{% trans "Id by material type" %}</th>
<th>{% trans "Material type" %}</th>
- <th>{% trans "Context record" %}</th>
+ <th>{% trans "Context record" context "short"%}</th>
<th>{% trans "Periods" %}</th>
<th>{% trans "Description" %}</th>
<th>{% trans "Weight" %}</th>
@@ -111,14 +112,14 @@
</tr>
{% for find in item.base_finds.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>
+ <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.context_record}}</td>
+ <td class="string">{{ find.material|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>