add a warning if we have no javascript

it is needed e.g. for the IP address detection and also other functions.
This commit is contained in:
Thomas Waldmann 2013-11-12 14:28:50 +01:00
parent 7aa48d7d4f
commit 5e2ddfec1c

View File

@ -92,6 +92,12 @@
{% endif %} {% endif %}
</div> </div>
{% endif %} {% endif %}
<noscript>
<div class="alert alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
Some functionality on this site requires that you have JavaScript enabled in your browser.
</div>
</noscript>
{% if messages %} {% if messages %}
{% for message in messages %} {% for message in messages %}
<div class="alert {{ message.tags }}"> <div class="alert {{ message.tags }}">