summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2014-01-10 16:22:48 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2014-01-10 16:22:48 +0100
commit4914a8ddf9e657b8253b78063cd65acc44eb7988 (patch)
tree9fafc2c5673b6bccc04cb172551b0d517f0157e1
parent0ec535da4fb00f506dd4ef6ad9323326d19b1575 (diff)
downloadIshtar-4914a8ddf9e657b8253b78063cd65acc44eb7988.tar.bz2
Ishtar-4914a8ddf9e657b8253b78063cd65acc44eb7988.zip
Fix administrativ act window
-rw-r--r--archaeological_operations/templates/ishtar/sheet_administrativeact.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/archaeological_operations/templates/ishtar/sheet_administrativeact.html b/archaeological_operations/templates/ishtar/sheet_administrativeact.html
index 5e80b3f75..e44dc4aea 100644
--- a/archaeological_operations/templates/ishtar/sheet_administrativeact.html
+++ b/archaeological_operations/templates/ishtar/sheet_administrativeact.html
@@ -9,9 +9,8 @@
{% block content %}
<div class='tool'>{%trans "Export as:"%} <a href='{% url show-administrativeact item.pk "odt" %}'>{%trans "OpenOffice.org file"%}</a>, <a href='{% url show-administrativeact item.pk "pdf" %}'>{%trans "PDF file"%}</a></div>
<h3>{% trans "General"%}</h3>
-<h2>
-<p><label>{%trans "Year:"%}</label> <span class='value'>{{ item.year }}</span>{% if item.numeric_reference %}<label>{%trans " Numerical reference:"%}</label> <span class='value'>{{ item.numeric_reference }}</span></p>{% endif %}
-</h2>
+<p><label>{%trans "Year:"%}</label> <span class='value strong'>{{ item.year }}</span></p>
+{% if item.index %}<p><label>{%trans "Numerical reference:"%}</label> <span class='value strong'>{{ item.index }}</span></p>{% endif %}
<p><label>{%trans "Type:"%}</label> <span class='value'>{{ item.act_type }}</span></p>
<p><label>{%trans "Signature date:"%}</label> <span class='value'>{{ item.signature_date }}</span></p>
<p><label>{%trans "In charge:"%}</label> <span class='value'>{{ item.in_charge.full_label }}</span></p>