From c4197a50459f5e4f64fde5d1e94ac895b4a20b4a Mon Sep 17 00:00:00 2001 From: Leigh Morresi <275001+dgtlmoon@users.noreply.github.com> Date: Tue, 2 Feb 2021 16:36:03 +0100 Subject: [PATCH] Show the date/time of the current/most up to date version --- backend/backend.py | 1 + backend/templates/diff.html | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/backend/backend.py b/backend/backend.py index 0406c1bf..5b27e14b 100644 --- a/backend/backend.py +++ b/backend/backend.py @@ -244,6 +244,7 @@ def diff_history_page(uuid): previous=previous_version_file_contents, extra_stylesheets=extra_stylesheets, versions=dates[1:], + newest_version_timestamp=dates[0], current_previous_version=str(previous_version), current_diff_url=watch['url']) diff --git a/backend/templates/diff.html b/backend/templates/diff.html index 633ce4be..5bd25148 100644 --- a/backend/templates/diff.html +++ b/backend/templates/diff.html @@ -16,7 +16,7 @@ Chars {% if versions|length >= 1 %} - +