1
0
mirror of https://github.com/aquatix/digimarks.git synced 2025-12-06 22:05:09 +01:00

Show 'added' (created) and 'modified' date/time

This commit is contained in:
2016-07-22 20:54:11 +02:00
parent d5ea054649
commit 0ab398026c

View File

@@ -75,4 +75,24 @@
</div>
{% endif %}
</div>
{% if bookmark.url_hash %}
{#
<div class="row">
<div class="col l1 m1 s4"><em>Added</em></div>
<div class="col l11 m11 s8">{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}</div>
</div>
#}
<table>
<tr>
<th>Added</th>
<td>{{ bookmark.created_date.strftime('%Y-%m-%d %H:%M') }}</td>
</tr>
{% if bookmark.modified_date %}
<tr>
<th>Modified</th>
<td>{{ bookmark.modified_date.strftime('%Y-%m-%d %H:%M') }}</td>
</tr>
{% endif %}
</table>
{% endif %}
{% endblock %}