From f0dc35da167e665852a0a275f61237cd20681618 Mon Sep 17 00:00:00 2001 From: Daniele Scasciafratte Date: Wed, 20 Jan 2016 15:13:29 +0100 Subject: [PATCH] [833026] Multiple event attendees should be a grid --- remo/events/templates/view_event.jinja | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/remo/events/templates/view_event.jinja b/remo/events/templates/view_event.jinja index 9d35a1145..698b22907 100644 --- a/remo/events/templates/view_event.jinja +++ b/remo/events/templates/view_event.jinja @@ -299,8 +299,18 @@ Mozilla Reps - {{ event.name }} - {% macro display_attendee(attendee) -%} + {% if event|get_total_attendees >= 3 %} +
+
+
+ Avatar +
+
+
+ {% else %}
@@ -316,6 +326,7 @@ Mozilla Reps - {{ event.name }}
+ {% endif %} {%- endmacro %}