From 66f72a006ff0b15d30457a645e562c08ca6c0662 Mon Sep 17 00:00:00 2001 From: Alexandre FLAMENT Date: Fri, 2 Sep 2022 08:52:23 +0000 Subject: [PATCH] template: when enable_metrics are disabled, hide the empty stats when metrics are disabled: * hide the link to /stats at the bottom of the pages * in /preferences, hide the columns "Response time" and "Reliability" --- searx/templates/simple/base.html | 6 +++--- searx/templates/simple/preferences.html | 8 ++++---- searx/webapp.py | 1 + 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/searx/templates/simple/base.html b/searx/templates/simple/base.html index a2464a1a..66c1b743 100644 --- a/searx/templates/simple/base.html +++ b/searx/templates/simple/base.html @@ -62,9 +62,9 @@