diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2013-07-16 23:28:25 +0000 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2013-07-16 23:28:25 +0000 |
| commit | 748940e2a215bf62adb0e61647d117c94dceb708 (patch) | |
| tree | 0eb9903217350f33513d97b6ddf4d4e4126c332f /archaeological_context_records/templates | |
| parent | 23e4ba7b12751cf481015e68e1336dd5bb1042f0 (diff) | |
| parent | 06824fcb9a58226cb017ae5104aefa48874754f6 (diff) | |
| download | Ishtar-748940e2a215bf62adb0e61647d117c94dceb708.tar.bz2 Ishtar-748940e2a215bf62adb0e61647d117c94dceb708.zip | |
Merge branch 'master' of lysithea.proxience.net:/home/proxience/git/ishtar
Diffstat (limited to 'archaeological_context_records/templates')
| -rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 11 |
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> |
