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 | 44569ae382aa9422adfb0c8746ad409f5540d942 (patch) | |
tree | 2533a69f0f87dae5bdd97f6fe4beb8995d067646 /archaeological_context_records/templates | |
parent | a76ed5d91b0d12a9366e2ce94e3df34ce0cfebe8 (diff) | |
download | Ishtar-44569ae382aa9422adfb0c8746ad409f5540d942.tar.bz2 Ishtar-44569ae382aa9422adfb0c8746ad409f5540d942.zip |
Change find display IDs: complete_id and short_id (refs #1319)
Diffstat (limited to 'archaeological_context_records/templates')
-rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index 5b89c15d4..41e8ebe2a 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -99,8 +99,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> @@ -112,12 +112,10 @@ </tr> {% for find in item.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> -{# 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) #} + {# 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>{{ find.get_last_find.dating}}</td>{# TODO .all|join:", " ? #} |