Added environment options - Fixed #56

This commit is contained in:
Fabio Caccamo
2019-03-20 12:33:53 +01:00
parent 1c2ac2a308
commit e58bbbeacf
6 changed files with 84 additions and 68 deletions
@@ -64,5 +64,5 @@ https://github.com/fabiocaccamo/django-admin-interface
{% block welcome-msg %}
{% get_admin_interface_theme as theme %}
{% if theme.env_visible %}<span class="enviroment-label {{ theme.env }}"></span> - {% endif %}{{ block.super }}<br>
{% if theme.env_visible_in_header %}<span class="enviroment-label {{ theme.env_name }}"></span> - {% endif %}{{ block.super }}<br>
{% endblock %}