From 7cfd8d900a9d828e5fbbcb5df65ffedbf11a5a0f Mon Sep 17 00:00:00 2001 From: Alexandre Flament Date: Wed, 14 Apr 2021 18:11:35 +0200 Subject: [mod] oscar: /preferences , engines tab: report engine times * display the median time instead of the average. * add a "Reliability" column (sum up the metrics and the checker results). * the "selected language", "SafeSearch", "Time range" values are displayed as "broken" when the checker tests fail. --- searx/templates/oscar/macros.html | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'searx/templates/oscar/macros.html') diff --git a/searx/templates/oscar/macros.html b/searx/templates/oscar/macros.html index 1cf46074f..0e9dc227a 100644 --- a/searx/templates/oscar/macros.html +++ b/searx/templates/oscar/macros.html @@ -134,13 +134,11 @@ custom-select{% if rtl %}-rtl{% endif %} {%- endmacro %} {% macro support_toggle(supports) -%} - {%- if supports -%} - - {{- _("supported") -}} - + {%- if supports == '?' -%} + {{- "" -}} + {%- elif supports -%} + {{- "" -}} {%- else -%} - - {{- _("not supported") -}} - + {{- "" -}} {%- endif -%} {%- endmacro %} -- cgit v1.2.3