]> git.parisson.com Git - mezzo.git/commitdiff
add calendar link to event detail
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 18 Mar 2016 14:47:01 +0000 (15:47 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Fri, 18 Mar 2016 14:47:01 +0000 (15:47 +0100)
app/templates/agenda/event_detail.html
app/templates/base.html

index c953580b2983f6fe2adebc316f13860e449a7963..85eb32f374120ee7e0e61218b91dd3ccf6288955 100644 (file)
 
 {% 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">
@@ -59,7 +65,7 @@
     Add to Google Calendar
 </a>
 <a href='{% icalendar_url %}' class="">
-    Add to Outlook/iCal
+    {% trans "Add to" %} Outlook/iCal
 </a></p>
 {% endblock %}
 
index 527f1d330c1aba545fa201778c28126bef8f190d..2f8056c0fcae6d2e9800a79dc6b4187b4aa900ed 100644 (file)
             <div class="site__content__header">
                 <h2 class="page__title">{% block title %}{% endblock %}</h2>
             </div>
-            {% block event_calendar %}
-            <p><a href='{% icalendar_url %}' target="_blank" class="">
-                {% trans "Subscribe to all events in" %} Google Calendar/Outlook/iCal
-            </a></p>
-            {% endblock %}
             <main class="main" role="main">
                 {% block main %}{% endblock %}
             </main>