]> git.parisson.com Git - mezzo.git/commitdiff
fix calendar link placeholder
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 18 Mar 2016 14:59:16 +0000 (15:59 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 18 Mar 2016 14:59:16 +0000 (15:59 +0100)
app/templates/agenda/event_detail.html
app/templates/agenda/event_list.html
app/templates/base.html

index 2011951d3f3614dd8af5122fe9f246153ccd9f48..c19f304366b28d24af3a6b3ab340f944bf2a78f6 100644 (file)
     {% editable event.title %}{{ event.title }}{% endeditable %}
 {% endblock %}
 
+{% block event_calendar %}
+<a href='{% icalendar_url %}' target="_blank" class="">{% trans "Subscribe to all events in" %} Google Calendar/Outlook/iCal</a>
+{% endblock %}
+
 {% block breadcrumb_menu %}
 {{ block.super }}
 <li class="active">{{ event.title }}</li>
 
 {% block main %}
 
-{% block event_calendar %}
-<p><a href='{% icalendar_url %}' target="_blank" class="">
-    {% trans "Subscribe to all events in" %} Google Calendar/Outlook/iCal
-</a></p>
-{% endblock %}
-
 {% block event_detail_postedby %}
 {% editable event.start event.end event.location %}
 <p class="event__meta">
index 157aac6fe34f2f5c503c9b8ccbecb537d44c2eeb..74e3f0ebd9d6c77f23955d76a9c52beb13c0be87 100644 (file)
 {% endif %}
 {% endblock %}
 
+{% block event_calendar %}
+<a href='{% icalendar_url %}' target="_blank" class="">{% trans "Subscribe to all events in" %} Google Calendar/Outlook/iCal</a>
+{% endblock %}
+
 {% block main %}
 {% if tag or location or year or month or author %}
     {% block event_list_filterinfo %}
     {% endif %}
 {% endif %}
 
-{% block event_calendar %}
-<p><a href='{% icalendar_url %}' target="_blank" class="">
-    {% trans "Subscribe to all events in" %} Google Calendar/Outlook/iCal
-</a></p>
-{% endblock %}
-
 {% for event in events.object_list %}
     {% block event_list_event_title %}
         {% editable event.title %}
index 2f8056c0fcae6d2e9800a79dc6b4187b4aa900ed..000db34eee45c6290a9b29a74d6618a5a73b7a0a 100644 (file)
             <div class="site__content__header">
                 <h2 class="page__title">{% block title %}{% endblock %}</h2>
             </div>
+            {% block event_calendar %}{% endblock %}
             <main class="main" role="main">
                 {% block main %}{% endblock %}
             </main>