From ed069c6e34386792abd27efa79a91c30a42bd576 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 9 May 2023 10:15:28 +0200 Subject: Administration: improved display of subcategories (in color) --- ishtar_common/templates/admin/index.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'ishtar_common') diff --git a/ishtar_common/templates/admin/index.html b/ishtar_common/templates/admin/index.html index 1019ea7c0..1c5b0dd84 100644 --- a/ishtar_common/templates/admin/index.html +++ b/ishtar_common/templates/admin/index.html @@ -1,7 +1,20 @@ {% extends "admin/base_site.html" %} {% load i18n static %} -{% block extrastyle %}{{ block.super }}{% endblock %} +{% block extrastyle %}{{ block.super }} +{% endblock %} {% block coltype %}colMS{% endblock %} @@ -22,7 +35,7 @@ {% for model in app.models %} {# Ishtar #} {% ifchanged model.admin_section %} - {% if model.admin_section or forloop.counter0 %}{% if model.admin_section %}{{ model.admin_section }}{% else %} {% endif %}{% endif %} + {% if model.admin_section or forloop.counter0 %}{% if model.admin_section %}{{ model.admin_section }}{% else %} {% endif %}{% endif %} {% endifchanged %} {# Ishtar end #} -- cgit v1.2.3