réajustement du menu d'administration

This commit is contained in:
Jean-Marie Favreau 2024-02-17 10:31:06 +01:00
parent cd78d92c33
commit 97cca0b5c9

View File

@ -4,41 +4,30 @@
<aside>
<article>
<header>
<h2>Consulter</h2>
</header>
<nav>
<ul>
<li><a {% if current == "tags" %}class="selected" {% endif %}href="{% url 'view_all_tags' %}">Toutes les étiquettes</a></li>
</ul>
</nav>
</article>
<article>
<header>
<h2>Administrer</h2>
<h2>Administrer</h2>
</header>
<h3>Événements</h3>
<nav>
<ul>
<li><a {% if current == "moderation" %}class="selected" {% endif %}href="{% url 'moderation' %}">Derniers événements soumis</a>{% show_badges_events "left" %}</li>
<li><a {% if current == "contactmessages" %}class="selected" {% endif %}href="{% url 'contactmessages' %}">Messages de contact</a>{% show_badge_contactmessages "left" %}</li>
<li><a {% if current == "duplicates" %}class="selected" {% endif %}href="{% url 'duplicates' %}">Gestion des doublons</a>{% show_badge_duplicated "left" %}</li>
<li><a {% if current == "tags" %}class="selected" {% endif %}href="{% url 'view_all_tags' %}">Toutes les étiquettes</a></li>
</ul>
</nav>
</article>
<article>
<header>
<h2>Importations</h2>
</header>
<h2>Importations</h2>
<nav>
<ul>
<li><a {% if current == "imports" %}class="selected" {% endif %}href="{% url 'imports' %}">Historiques des importations</a></li>
<li><a {% if current == "rimports" %}class="selected" {% endif %}href="{% url 'recurrent_imports' %}">Importations récurrentes</a></li>
</ul>
</nav>
</article>
<article>
<header>
<h2>Configurer</h2>
</header>
<h3>Messages</h3>
<nav>
<ul>
<li><a {% if current == "contactmessages" %}class="selected" {% endif %}href="{% url 'contactmessages' %}">Messages de contact</a>{% show_badge_contactmessages "left" %}</li>
</ul>
</nav>
<h3>Configuration interne</h3>
<nav>
<ul>
<li><a href="{% url 'admin:index' %}">Administration de django</a></li>