summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/preferences.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2015-06-05 08:48:47 +0200
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2015-06-05 08:48:47 +0200
commit0978f108879324a0367bc6d362f896532d6fc04f (patch)
tree24519f6c115db01087b06d9f59ce2870b656b13a /searx/templates/oscar/preferences.html
parentaa1b8fa79b0f9f66c2913b5acae5a63545504e70 (diff)
[fix] do not hide categorie inside preferences if there is no engine activated
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r--searx/templates/oscar/preferences.html4
1 files changed, 2 insertions, 2 deletions
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 @@
<!-- Nav tabs -->
<ul class="nav nav-tabs nav-justified hide_if_nojs" role="tablist" style="margin-bottom:20px;">
- {% for categ in categories %}
+ {% for categ in all_categories %}
<li{% if loop.first %} class="active"{% endif %}><a href="#tab_engine_{{ categ|replace(' ', '_') }}" role="tab" data-toggle="tab">{{ _(categ) }}</a></li>
{% endfor %}
</ul>
@@ -128,7 +128,7 @@
<!-- Tab panes -->
<div class="tab-content">
- {% for categ in categories %}
+ {% for categ in all_categories %}
<noscript><label>{{ _(categ) }}</label>
</noscript>
<div class="tab-pane{% if loop.first %} active{% endif %} active_if_nojs" id="tab_engine_{{ categ|replace(' ', '_') }}">