diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-21 18:31:27 +0200 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-08-21 18:31:27 +0200 |
| commit | 81a350fcca34b4252a53bd81a04f5788ce7ab910 (patch) | |
| tree | 2533a69f0f87dae5bdd97f6fe4beb8995d067646 /archaeological_operations | |
| parent | d2eb227c7460a209280dccd5e251838470926026 (diff) | |
| download | Ishtar-81a350fcca34b4252a53bd81a04f5788ce7ab910.tar.bz2 Ishtar-81a350fcca34b4252a53bd81a04f5788ce7ab910.zip | |
Change find display IDs: complete_id and short_id (refs #1319)
Diffstat (limited to 'archaeological_operations')
| -rw-r--r-- | archaeological_operations/templates/ishtar/sheet_operation.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html index 45c43598f..e1ea28882 100644 --- a/archaeological_operations/templates/ishtar/sheet_operation.html +++ b/archaeological_operations/templates/ishtar/sheet_operation.html @@ -144,8 +144,8 @@ <table> <caption>{%trans "Finds"%}</caption> <tr> - <th>{% trans "Find Id" %}</th> - <th>{% trans "Id by material type" %}</th> + <th>{% trans "Complete Id" %}</th> + <th>{% trans "Short Id" %}</th> <th>{% trans "Material type" %}</th> <th>{% trans "Context record" context "short"%}</th> <th>{% trans "Periods" %}</th> @@ -158,10 +158,10 @@ {% for context_record in item.context_record.all %} {% for find in context_record.base_finds.all %} <tr> - <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 class="ref">{{ find.material_type_label }}</td> + {# OPE|MAT.CODE|UE|FIND_index #} + <td class="ref">{{ find.complete_id|default:""}}</td> + {# OPE|FIND_index #} + <td class="ref">{{ find.short_id|default:"" }}</td> <td class="string">{{ find.get_last_find.material_type|default:"" }}</td> <td>{{find.context_record.label}}</td> <td class='string'>{{ find.get_last_find.dating}}</td>{# TODO .all|join:", " ? #} |
