summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-22 10:59:35 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2016-10-22 11:00:46 +0200
commit6fef57483fddfbd5003cf72e34d0b370e02f5e95 (patch)
tree6dc9fdcf551160909aa62793818136bd98fba7b0 /archaeological_operations
parent2909deebcf922fd0d2f3741ce022a0085efc8ee3 (diff)
downloadIshtar-6fef57483fddfbd5003cf72e34d0b370e02f5e95.tar.bz2
Ishtar-6fef57483fddfbd5003cf72e34d0b370e02f5e95.zip
Sheets: highlight main references
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_operation.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_operation.html b/archaeological_operations/templates/ishtar/sheet_operation.html
index 07f8d8ab0..daddb42d6 100644
--- a/archaeological_operations/templates/ishtar/sheet_operation.html
+++ b/archaeological_operations/templates/ishtar/sheet_operation.html
@@ -17,12 +17,12 @@
<p class='alert'><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> {%trans "Patriarche OA code not yet recorded!"%}</p>
{% endif %}
+<p class='window-refs'>{% if item.year or item.operation_code %}{{item.year|default:''}}-{{item.operation_code|default:''}}{% endif %}{% if item.code_patriarche %} &ndash; OA{{item.code_patriarche}}{% endif %}
+</p>
+<p class='window-refs'>{{item.common_name|default:''}}</p>
+
<h3>{% trans "General"%}</h3>
<ul class='form-flex'>
-{% field_li "Name" item.common_name %}
-{% field_li "Year" item.year %}
-{% field_li "Numeric reference" item.operation_code %}
-{% field_li "Code patriarche" item.code_patriarche 'OA' %}
{% field_li "Old code" item.old_code %}
<li><label>{%trans "Last modification date:"%}</label> <span class='value'>{% if item.history_date %}{{ item.history_date }}{% else %}{{ item.history.all.0.history_date }}{% endif %}</span></li> <!-- date = now -->
{% field_li "Created by" item.history_creator.ishtaruser.full_label %}