mirror of
https://github.com/searxng/searxng.git
synced 2024-11-22 20:17:45 +01:00
[enh] show js warning only if menu can't be used or inside preferences
This commit is contained in:
parent
096ffd0659
commit
016a0ffe8a
@ -57,7 +57,9 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block site_alert_warning_nojs %}
|
{% block site_alert_warning_nojs %}
|
||||||
<noscript>
|
<noscript>
|
||||||
|
<div class="visible-xs-block">
|
||||||
{% include 'oscar/messages/js_disabled.html' %}
|
{% include 'oscar/messages/js_disabled.html' %}
|
||||||
|
</div>
|
||||||
</noscript>
|
</noscript>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block site_alert_info %}
|
{% block site_alert_info %}
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{% extends "oscar/base.html" %}
|
{% extends "oscar/base.html" %}
|
||||||
{% block title %}{{ _('preferences') }} - {% endblock %}
|
{% block title %}{{ _('preferences') }} - {% endblock %}
|
||||||
|
{% block site_alert_warning_nojs %}
|
||||||
|
<noscript>
|
||||||
|
{% include 'oscar/messages/js_disabled.html' %}
|
||||||
|
</noscript>
|
||||||
|
{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div>
|
<div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user