summaryrefslogtreecommitdiff
path: root/searx/templates/oscar/preferences.html
diff options
context:
space:
mode:
authorThomas Pointhuber <thomas.pointhuber@gmx.at>2015-01-18 13:03:53 +0100
committerThomas Pointhuber <thomas.pointhuber@gmx.at>2015-01-18 13:03:53 +0100
commit016a0ffe8a0b97cd89e15e95a1cec5465d9c516e (patch)
tree18a53ec14920b5c2b59fa4beaf7b0f93cf7a9767 /searx/templates/oscar/preferences.html
parent096ffd0659ea93a1de0009e37e49f71d576d2de6 (diff)
downloadsearxng-016a0ffe8a0b97cd89e15e95a1cec5465d9c516e.tar.gz
searxng-016a0ffe8a0b97cd89e15e95a1cec5465d9c516e.zip
[enh] show js warning only if menu can't be used or inside preferences
Diffstat (limited to 'searx/templates/oscar/preferences.html')
-rw-r--r--searx/templates/oscar/preferences.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/templates/oscar/preferences.html b/searx/templates/oscar/preferences.html
index 352c7d551..14bbace32 100644
--- a/searx/templates/oscar/preferences.html
+++ b/searx/templates/oscar/preferences.html
@@ -1,5 +1,10 @@
{% extends "oscar/base.html" %}
{% block title %}{{ _('preferences') }} - {% endblock %}
+{% block site_alert_warning_nojs %}
+<noscript>
+ {% include 'oscar/messages/js_disabled.html' %}
+</noscript>
+{% endblock %}
{% block content %}
<div>