summaryrefslogtreecommitdiff
path: root/archaeological_files/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-11 18:16:49 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2013-04-11 18:16:49 +0200
commit135a2370cfef4f3faea88cc6a1ab3f1eb797013d (patch)
tree1bdc68eac5c81c5bfafe287a659266ee8ad33d69 /archaeological_files/templates
parentf7ef537f915f30ea8513c18f43d79733a5d47ac2 (diff)
downloadIshtar-135a2370cfef4f3faea88cc6a1ab3f1eb797013d.tar.bz2
Ishtar-135a2370cfef4f3faea88cc6a1ab3f1eb797013d.zip
Add a name to archaelogical files (closes #628)
Diffstat (limited to 'archaeological_files/templates')
-rw-r--r--archaeological_files/templates/ishtar/sheet_file.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_files/templates/ishtar/sheet_file.html b/archaeological_files/templates/ishtar/sheet_file.html
index bdf0bd4ff..7f45777a0 100644
--- a/archaeological_files/templates/ishtar/sheet_file.html
+++ b/archaeological_files/templates/ishtar/sheet_file.html
@@ -17,9 +17,9 @@
<h3>{% trans "General"%}</h3>
<p><label>{%trans "Year:"%}</label> <span class='value'>{{ item.year }}</span></p>
<p><label>{%trans "Numerical reference:"%}</label> <span class='value'>{{ item.numeric_reference }}</span></p>
-
-<p><label>{%trans "File's name:"%}</label> <span class='value'>{{ item.internal_reference }}</span></p>
-
+{% if item.name %}
+<p><label>{%trans "File's name:"%}</label> <span class='value'>{{ item.name }}</span></p>
+{% endif %}
<p><label>{%trans "Edition date:"%}</label> <span class='value'>{{ item.history_date }}</span></p> <!-- date = now -->
{% if item.reception_date %}<p><label>{%trans "Reception date:"%}</label> <span class='value'>{{ item.reception_date }}</span></p>{% endif %}
<p><label>{%trans "Creation date:"%}</label> <span class='value'>{{ item.creation_date }}</span></p>