Skip to content
Snippets Groups Projects
Commit 6d98654e authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Move preprodwarning to login-template; Closes #1035

parent 6a3b3e92
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,15 @@
{% endblock %}
{% block content %}
{%- if not isProduction %}
<div class="message-box warning">
{% trans %}You are now accessing a pre-production system. This authentication setup
{#- #} is for testing and pre-production verification only. If someone sent you
{#- #} a link that pointed you here, and you are not <i>a tester</i> you
{#- #} probably got the wrong link, and should <b>not be here</b>.{% endtrans %}
</div>
{% endif -%}
{% if errorcode -%}
<div class="pure-g">
<div class="pure-u-1">
......
......@@ -22,21 +22,12 @@
<div id="content">
<div class="wrap">
{%- if not isProduction %}
<div class="message-box warning">
{% trans %}You are now accessing a pre-production system. This authentication setup
{#- #} is for testing and pre-production verification only. If someone sent you
{#- #} a link that pointed you here, and you are not <i>a tester</i> you
{#- #} probably got the wrong link, and should <b>not be here</b>.{% endtrans %}
</div>
{% endif -%}
{%- block contentwrapper %}
{%- block content %}{% endblock %}
{%- endblock contentwrapper %}
</div>
</div><!-- content -->
</div>
</div><!-- content -->
<div id="push"></div>
</div><!-- layout -->
<div id="foot">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment