On renomme les boutons

See #342
This commit is contained in:
Jean-Marie Favreau 2025-03-09 12:20:40 +01:00
parent 48d87f6498
commit ea129db89f
6 changed files with 9 additions and 9 deletions

View File

@ -67,7 +67,7 @@
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
{% cache cache_timeout organisation_list user.is_authenticated object page_obj.number past %}
<div class="slide-buttons">
<a href="{% url 'export_ical_organisation' object.pk %}" role="button">Ajouter l'agenda {% picto_from_name "calendar" %}</a>
<a href="{% url 'export_ical_organisation' object.pk %}" role="button">S'abonner à l'agenda {% picto_from_name "calendar" %}</a>
{% if past %}
<a href="{{ object.get_absolute_url }}" role="button">Voir les événements à venir</a>
{% else %}

View File

@ -206,7 +206,7 @@
{% endif %}
<a role="button"
data-tooltip="Copiez ce lien et importez-le dans votre agenda"
href="{% url 'export_ical_category' category.slug %}?{{ filter.get_url }}">Export ical {% picto_from_name "calendar" %}</a>
href="{% url 'export_ical_category' category.slug %}?{{ filter.get_url }}">S'abonner à l'agenda {% picto_from_name "calendar" %}</a>
{% else %}
{% if calendar.today_in_calendar %}
<a role="button" href="{% url 'aujourdhui' %}?{{ filter.get_url }}">Aujourd'hui</a>
@ -214,7 +214,7 @@
{% endif %}
<a role="button"
data-tooltip="Copiez ce lien et importez-le dans votre agenda"
href="{% url 'export_ical' %}?{{ filter.get_url }}">Export ical {% picto_from_name "calendar" %}</a>
href="{% url 'export_ical' %}?{{ filter.get_url }}">S'abonner à l'agenda {% picto_from_name "calendar" %}</a>
{% endif %}
</footer>
{% endcache %}

View File

@ -253,11 +253,11 @@
{% if category %}
<a role="button"
data-tooltip="Copiez ce lien et importez-le dans votre agenda"
href="{% url 'export_ical_category' category.slug %}?{{ filter.get_url }}">Export ical {% picto_from_name "calendar" %}</a>
href="{% url 'export_ical_category' category.slug %}?{{ filter.get_url }}">S'abonner à l'agenda {% picto_from_name "calendar" %}</a>
{% else %}
<a role="button"
data-tooltip="Copiez ce lien et importez-le dans votre agenda"
href="{% url 'export_ical' %}?{{ filter.get_url }}">Export ical {% picto_from_name "calendar" %}</a>
href="{% url 'export_ical' %}?{{ filter.get_url }}">S'abonner à l'agenda {% picto_from_name "calendar" %}</a>
{% endif %}
{% if category %}
<a href="{% if calendar.nb_days == 1 %}{% url 'day_view_category' category.slug date_next.year date_next.month date_next.day %}{% else %}{% url 'a_venir_jour_category' category.slug date_next.year date_next.month date_next.day %}{% endif %}?{{ filter.get_url }}"

View File

@ -283,11 +283,11 @@
{% if category %}
<a role="button"
data-tooltip="Copiez ce lien et importez-le dans votre agenda"
href="{% url 'export_ical_category' category.slug %}?{{ filter.get_url }}">Export ical {% picto_from_name "calendar" %}</a>
href="{% url 'export_ical_category' category.slug %}?{{ filter.get_url }}">S'abonner à l'agenda {% picto_from_name "calendar" %}</a>
{% else %}
<a role="button"
data-tooltip="Copiez ce lien et importez-le dans votre agenda"
href="{% url 'export_ical' %}?{{ filter.get_url }}">Export ical {% picto_from_name "calendar" %}</a>
href="{% url 'export_ical' %}?{{ filter.get_url }}">S'abonner à l'agenda {% picto_from_name "calendar" %}</a>
{% endif %}
</footer>
{% endcache %}

View File

@ -96,7 +96,7 @@
{% with cache_timeout=user.is_authenticated|yesno:"30,600" %}
{% cache cache_timeout place_list user.is_authenticated object page_obj.number past %}
<div class="slide-buttons">
<a href="{% url 'export_ical_place' object.pk %}" role="button">Ajouter l'agenda {% picto_from_name "calendar" %}</a>
<a href="{% url 'export_ical_place' object.pk %}" role="button">S'abonner à l'agenda {% picto_from_name "calendar" %}</a>
{% if past %}
<a href="{{ object.get_absolute_url }}" role="button">Voir les événements à venir</a>
{% else %}

View File

@ -76,7 +76,7 @@
</article>
<div>
<div class="slide-buttons">
<a href="{% url 'export_ical_tag' tag|prepare_tag %}" role="button">Ajouter l'agenda {% picto_from_name "calendar" %}</a>
<a href="{% url 'export_ical_tag' tag|prepare_tag %}" role="button">S'abonner à l'agenda {% picto_from_name "calendar" %}</a>
{% if past %}
<a href="{% url 'view_tag' tag|prepare_tag %}" role="button">Voir les événements à venir</a>
{% else %}