mirror of
https://github.com/searx/searx
synced 2025-09-01 15:06:02 +00:00
[enh] show js warning only if menu can't be used or inside preferences
This commit is contained in:
@@ -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 %}
|
||||
|
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user