]> git.parisson.com Git - mezzo.git/commitdiff
Move the room program download link to the sidebar
authorJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Mon, 17 Oct 2016 15:26:28 +0000 (17:26 +0200)
committerJérémy Fabre <Jeremy@iMac-de-Jeremy.local>
Mon, 17 Oct 2016 15:26:28 +0000 (17:26 +0200)
app/templates/agenda/event_detail.html
app/templates/agenda/includes/event_metainfo.html

index 5a560eaf014046104cc5272c4a9f3408a2e906e9..36ddf03fcef7603e9df48f78b89b3545af69fcf6 100644 (file)
         {% endif %}
     {% endblock %}
 
-    {% if event.brochure %}
-        <p>
-            <a href='{{ event.brochure.url }}' target="_blank" class="button">
-                <i class="icon icon__file"></i>
-                {% trans "Download" %} {% trans "the room program" %}
-            </a>
-        </p>
-    {% endif %}
-
 {% endblock %}
 
 {% block page_link %}
index 328abcd5c289f87c3263c852a253573eff34964e..5a0fd77e40100ac0c6ced3287d9fced9c32c1624 100644 (file)
     {% endif %}
 {% endwith %}
 
+{% if event.brochure %}
+        <div class="page__meta-title page__meta-title--small">{% trans "Room program" %}</div>
+        <p class="page__meta-text">
+            <a href='{{ event.brochure.url }}' target="_blank">
+                {% trans "Download" %}
+            </a>
+        </p>
+{% endif %}
+
 {% if unit_booking %}
     {% if event.prices.all.0|floatformat != '0' and event.prices.all|length > 0 %}
         {% for price in event.prices.all %}