From 0ab398026c6db32381965dd92496e04327520661 Mon Sep 17 00:00:00 2001 From: Michiel Scholten Date: Fri, 22 Jul 2016 20:54:11 +0200 Subject: [PATCH] Show 'added' (created) and 'modified' date/time --- templates/edit.html | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/templates/edit.html b/templates/edit.html index c9b30ba..498938e 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -75,4 +75,24 @@ {% endif %} +{% if bookmark.url_hash %} +{# +
+
Added
+
{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}
+
+#} + + + + + + {% if bookmark.modified_date %} + + + + + {% endif %} +
Added{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}
Modified{{ bookmark.modified_date.strftime('%Y-%m-%d %H:%M') }}
+{% endif %} {% endblock %}