Added enviroment display and customization

This commit is contained in:
Fabio Caccamo committed 2018-01-31 12:24:08 +01:00
1 parent 6e57cf558c
commit e579134152
5 files changed
+111

No files matched your search

@@ -64,4 +64,9 @@ https://github.com/fabiocaccamo/django-admin-interface
<span>{% if theme.title %}{% trans theme.title %}{% else %}{% trans 'Django administration' %}{% endif %}</span>
{% endif %}
</h1>
{% endblock %}
{% block welcome-msg %}
{% get_admin_interface_theme as theme %}
{% if theme.env_visible %}<span class="enviroment-label {{ theme.env }}"></span> - {% endif %}{{ block.super }}<br>
{% endblock %}