Merge pull request #1216 from alphagov/88mph

Fix future ‘last edited’ date
This commit is contained in:
Chris Hill-Scott
2017-04-06 16:02:39 +01:00
committed by GitHub
2 changed files with 9 additions and 6 deletions

View File

@@ -24,7 +24,7 @@
{% if template._template.updated_at %}
<div class="bottom-gutter-2">
<h2 class="heading-small">Last edited {{ template._template.updated_at|format_datetime_relative }}</h2>
<h2 class="heading-small">Last edited {{ template._template.updated_at|format_delta }}</h2>
<p>
<a href="{{ url_for('.view_template_versions', service_id=current_service.id, template_id=template.id) }}">See previous versions</a>
</p>