summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-10 16:25:35 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-19 14:45:57 +0100
commitd306ba05c44f9010551ecf74efe4d4334b7e44b1 (patch)
tree89b22c92e2ef0385f7c1ada67fc84c151bbd3f04 /ishtar_common/templates
parent3e3efb3d6736e417f0b6cf650153840761ee9baf (diff)
downloadIshtar-d306ba05c44f9010551ecf74efe4d4334b7e44b1.tar.bz2
Ishtar-d306ba05c44f9010551ecf74efe4d4334b7e44b1.zip
🗃️ add acquisition date to geo items - remove mandatory link to geovectordata
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/blocks/sheet_geographic.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/sheet_geographic.html b/ishtar_common/templates/ishtar/blocks/sheet_geographic.html
index d5f8a4d84..12846ef78 100644
--- a/ishtar_common/templates/ishtar/blocks/sheet_geographic.html
+++ b/ishtar_common/templates/ishtar/blocks/sheet_geographic.html
@@ -10,6 +10,7 @@
<th>{% trans "Name" %}</th>
<th>{% trans "Origin" %}</th>
<th>{% trans "Provider" %}</th>
+ <th>{% trans "Acquisition date" %}</th>
<th>{% trans "Comment" %}</th>
{% if not IS_HISTORY and permission_change_geo %}<th>&nbsp;</th>{% endif %}
</tr>
@@ -27,6 +28,7 @@
<td>{{ geo.name }}</td>
<td>{% if geo.origin %}{{ geo.origin }}{% else %}-{% endif %}</td>
<td>{% if geo.provider %}{{ geo.provider }}{% else %}-{% endif %}</td>
+ <td>{% if geo.acquisition_date %}{{ geo.acquisition_date|date:"DATE_FORMAT"|default:"-" }}{% else %}-{% endif %}</td>
<td>{% if geo.comment %}{{ geo.comment }}{% else %}-{% endif %}</td>
{% if not IS_HISTORY and permission_change_geo and output != "ODT" and output != "PDF" %}<td>
{% autoescape off %}