ajout d'un bouton accès rapide ajouter

This commit is contained in:
Jean-Marie Favreau 2024-08-18 14:30:55 +02:00
parent 775374903f
commit ead08164d5
2 changed files with 9 additions and 0 deletions

View File

@ -651,6 +651,12 @@ nav .badge.error {
border-color: #cb1b1b;
}
nav .badge.simple {
background: var(--secondary);
border-color: var(--secondary);
color: var(--secondary-inverse);
}
form [role="button"], form button {
margin: var(--spacing) 0 var(--spacing) 0;
}

View File

@ -47,6 +47,9 @@
</a>
</li>
<li>
{% if perms.agenda_culturel.add_event %}
<a class="badge simple" href="{% url 'add_event_urls' %}">{% picto_from_name "plus-circle" %} {% picto_from_name "calendar" %}</a>
{% endif %}
{% if perms.agenda_culturel.view_recurrentimport %}
{% show_badge_failed_rimports "bottom" %}
{% endif %}