Skip to content

Commit 5378bdf

Browse files
committed
Show banner in non-production mode
1 parent 0ce7d24 commit 5378bdf

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

templates/base.twig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@
2121
{% block header %}{% include "_header.twig" %}{% endblock %}
2222
<div id="content">
2323
<div class="wrap">
24+
{% if not isProduction -%}
25+
<div class="message-box warning">{{ 'pre-production-warning' | trans }}</div>
26+
{% endif -%}
2427
{% block contentwrapper -%}
2528
{% block content %}{% endblock -%}
2629
{% endblock %}

0 commit comments

Comments
 (0)