]> git.parisson.com Git - mezzo.git/commitdiff
Event : mask 'Reserve' if archive
authorEmilie <zawadzki@ircam.fr>
Fri, 21 Oct 2016 08:12:04 +0000 (10:12 +0200)
committerEmilie <zawadzki@ircam.fr>
Fri, 21 Oct 2016 08:12:04 +0000 (10:12 +0200)
app/templates/agenda/includes/event_metainfo_line.html

index 547ebc549ccda2681427758e5060934aa85918cf..e73ecb6820db3a248fd06be6e96ab315a477c795 100644 (file)
@@ -16,7 +16,7 @@
 
 {% if unit_booking %}
 
-    {% if event.prices.all.0|floatformat != '0' and event.prices.all|length > 0 %}
+    {% if event.prices.all.0|floatformat != '0' and event.prices.all|length > 0 and not is_archive %}
         <p>
             <a class="button mt1" href="{% url 'event_booking' event.slug %}" class="event__meta__btn">
                 {% trans "Reserve" %}