mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-30 11:34:49 +00:00
More helpful message if javascript is not activated. (#3110)
* More helpful message if javascript is not activated. * Clearer message when noJS * Updating the CSS to make the noJS message look nicer on mobile version.
This commit is contained in:
parent
169045b186
commit
46724f6954
2 changed files with 6 additions and 2 deletions
|
|
@ -61,7 +61,6 @@ body {
|
|||
padding: 1em 2em;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
|
||||
a {
|
||||
|
|
|
|||
|
|
@ -20,7 +20,12 @@
|
|||
<!--[if lt IE 9]>
|
||||
<p class="capabilitymessage">{% blocktrans %}You are using an <strong>outdated</strong> browser not supported by this software. Please <a href="http://browsehappy.com/">upgrade your browser</a>.{% endblocktrans %}</p>
|
||||
<![endif]-->
|
||||
<noscript class="capabilitymessage">{% trans 'Javascript is required to use Wagtail, but it is currently disabled' %}</noscript>
|
||||
<noscript class="capabilitymessage">
|
||||
{% blocktrans %}
|
||||
Javascript is required to use Wagtail, but it is currently disabled.<br />
|
||||
Here are the <a href="http://www.enable-javascript.com/" target="_blank" rel="noopener">instructions how to enable JavaScript in your web browser</a>.
|
||||
{% endblocktrans %}
|
||||
</noscript>
|
||||
|
||||
{% block js %}{% endblock %}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue