parent
48d87f6498
commit
ea129db89f
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
@ -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 }}"
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user