summaryrefslogtreecommitdiff
path: root/archaeological_finds/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-30 17:32:49 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2023-01-30 17:32:49 +0100
commitec2ef1a59c01d79d0341545b92a07a60dee6321d (patch)
tree58798681d154dda13d36586f7f4b437f2647d959 /archaeological_finds/templates
parent1dc416ca432719e77d3165b2ca06552a34977ecc (diff)
downloadIshtar-ec2ef1a59c01d79d0341545b92a07a60dee6321d.tar.bz2
Ishtar-ec2ef1a59c01d79d0341545b92a07a60dee6321d.zip
Add "created" field on main items in order to facilitate queries
Diffstat (limited to 'archaeological_finds/templates')
-rw-r--r--archaeological_finds/templates/ishtar/sheet_basefind.html12
1 files changed, 1 insertions, 11 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_basefind.html b/archaeological_finds/templates/ishtar/sheet_basefind.html
index 85987c320..c3ab1c792 100644
--- a/archaeological_finds/templates/ishtar/sheet_basefind.html
+++ b/archaeological_finds/templates/ishtar/sheet_basefind.html
@@ -67,17 +67,7 @@
{% if not is_external %}
<h3>{% trans "Sheet"%}</h3>
<div class='row'>
- {% with item.history_creation_date|date:"SHORT_DATETIME_FORMAT" as creation_date %}
- {% with item.history_creator.ishtaruser.full_label|add:"<br/><i>"|add:creation_date|add:"</i>" as creator %}
- {% field_flex "Created by" creator|safe '' '' first %}
- {% endwith %}{% endwith %}
- {% if item.history_creation_date != item.last_edition_date %}
- {% with item.last_edition_date|date:"SHORT_DATETIME_FORMAT" as edition_date %}
- {% with item.history_modifier.ishtaruser.full_label|add:"<br/><i>"|add:edition_date|add:"</i>" as modifier %}
- {% trans "Last modified by" as lastmodifiedby_label %}
- {% field_flex lastmodifiedby_label modifier|safe '' '' first %}
- {% endwith %}{% endwith %}
- {% endif %}
+ {% include "ishtar/blocks/sheet_creation_section.html" %}
</div>
{% endif %}
</div>