From 98623de38c1d2eecc5b90deb21588d27f12df438 Mon Sep 17 00:00:00 2001 From: Leigh Morresi <275001+dgtlmoon@users.noreply.github.com> Date: Sun, 21 Feb 2021 20:14:35 +0100 Subject: [PATCH] Code tidy --- backend/templates/watch-overview.html | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/backend/templates/watch-overview.html b/backend/templates/watch-overview.html index 573a05b4..568e9ae5 100644 --- a/backend/templates/watch-overview.html +++ b/backend/templates/watch-overview.html @@ -17,11 +17,11 @@
{% for tag in tags %} - {% if tag == "" %} - All - {% else %} - {{ tag }} - {% endif %} + {% if tag == "" %} + All + {% else %} + {{ tag }} + {% endif %} {% endfor %}
@@ -56,12 +56,14 @@ {{watch|format_last_checked_time}} {% if watch.history|length >= 2 and watch.last_changed %} - {{watch.last_changed|format_timestamp_timeago}} + {{watch.last_changed|format_timestamp_timeago}} {% else %} - Not yet + Not yet {% endif %} - Recheck + + Recheck Edit {% if watch.history|length >= 2 %} Diff @@ -75,7 +77,8 @@
- Recheck all {% if active_tag%}in "{{active_tag}}"{%endif%} + Recheck + all {% if active_tag%}in "{{active_tag}}"{%endif%}