Amélioration boutons ical

See #342
This commit is contained in:
Jean-Marie Favreau 2025-03-09 17:49:25 +01:00
parent a38d226ea5
commit 39d2beaf3c
2 changed files with 3 additions and 1 deletions

View File

@ -205,6 +205,8 @@
</p>
<footer class="infos-and-buttons">
<div class="buttons">
<a href="{% url 'export_event_ical' event.start_day.year event.start_day.month event.start_day.day event.id %}"
role="button">ajouter à mon agenda {% picto_from_name "calendar" %}</a>
<a href="{{ event.get_absolute_url }}" role="button">Voir l'événement
<svg width="1em"
height="1em"

View File

@ -213,7 +213,7 @@
{% endif %}
{% else %}
<a href="{% url 'export_event_ical' event.start_day.year event.start_day.month event.start_day.day event.id %}"
role="button">exporter ical {% picto_from_name "calendar" %}</a>
role="button">ajouter à mon agenda {% picto_from_name "calendar" %}</a>
{% if perms.agenda_culturel.change_event and not noedit %}
{% include "agenda_culturel/edit-buttons-inc.html" with event=event details=1 %}
{% endif %}