Gitlab CSE Unil

Commit 7d901131 authored by M. Chardon's avatar M. Chardon
Browse files

detection admin_prod sur visu base

parent 51f46844
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<div class="navbar-header"> <div class="navbar-header">
{% block navbar_brand %} {% block navbar_brand %}
<a class="navbar-brand" href="{% url "adim.app:home" %}">ADIM</a> <a class="navbar-brand" href="{% url "adim.app:home" %}">ADIM</a>
{% if debug %} {% if adim_prod == false %}
<span style="color:red;font-weight: bold;font-size: large;"><i class="fa fa-exclamation-triangle"></i> ENVIRONNEMENT DE TEST&nbsp;</span> <span style="color:red;font-weight: bold;font-size: large;"><i class="fa fa-exclamation-triangle"></i> ENVIRONNEMENT DE TEST&nbsp;</span>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment