From 0978f108879324a0367bc6d362f896532d6fc04f Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Fri, 5 Jun 2015 08:48:47 +0200 Subject: [fix] do not hide categorie inside preferences if there is no engine activated --- searx/templates/courgette/preferences.html | 2 +- searx/templates/default/preferences.html | 2 +- searx/templates/oscar/preferences.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'searx/templates') diff --git a/searx/templates/courgette/preferences.html b/searx/templates/courgette/preferences.html index 2afb74d11..f89915d8d 100644 --- a/searx/templates/courgette/preferences.html +++ b/searx/templates/courgette/preferences.html @@ -101,7 +101,7 @@ {{ _('Category') }} {{ _('Allow') }} / {{ _('Block') }} - {% for categ in categories %} + {% for categ in all_categories %} {% for search_engine in engines_by_category[categ] %} {% if not search_engine.private %} diff --git a/searx/templates/default/preferences.html b/searx/templates/default/preferences.html index 0afe9f7d0..90006c029 100644 --- a/searx/templates/default/preferences.html +++ b/searx/templates/default/preferences.html @@ -89,7 +89,7 @@ {{ _('Category') }} {{ _('Allow') }} / {{ _('Block') }} - {% for categ in categories %} + {% for categ in all_categories %} {% for search_engine in engines_by_category[categ] %} {% if not search_engine.private %} diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html index ee4e6ab57..6adb43523 100644 --- a/searx/templates/oscar/preferences.html +++ b/searx/templates/oscar/preferences.html @@ -117,7 +117,7 @@ @@ -128,7 +128,7 @@
- {% for categ in categories %} + {% for categ in all_categories %}
-- cgit v1.2.3