From 7564703abd4e86137ab64007201cb424e4e2bd3e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 1 Aug 2024 00:07:18 +0200 Subject: [PATCH] Continued: - added conditional links to 'added'/'updated' modes --- templates/views/list.html | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/templates/views/list.html b/templates/views/list.html index 5a6b86c..548dc87 100644 --- a/templates/views/list.html +++ b/templates/views/list.html @@ -52,8 +52,20 @@ Total peers Total blocks Response time - First added - Last updated + + {% if mode != "added" %} + First added + {% else %} + First added + {% endif %} + + + {% if mode != "updated" %} + Last updated + {% else %} + Last updated + {% endif %} + -- 2.39.5