1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-05 04:40:11 +01:00

[enh] show js warning only if menu can't be used or inside preferences

This commit is contained in:
Thomas Pointhuber 2015-01-18 13:03:53 +01:00
parent 096ffd0659
commit 016a0ffe8a
2 changed files with 7 additions and 0 deletions

View File

@ -57,7 +57,9 @@
{% endblock %}
{% block site_alert_warning_nojs %}
<noscript>
<div class="visible-xs-block">
{% include 'oscar/messages/js_disabled.html' %}
</div>
</noscript>
{% endblock %}
{% block site_alert_info %}

View File

@ -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>