Added enviroment display and customization

This commit is contained in:
Fabio Caccamo
2018-01-31 12:24:08 +01:00
parent 6e57cf558c
commit e579134152
5 changed files with 111 additions and 0 deletions
@@ -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 %}
File diff suppressed because one or more lines are too long