Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1292 from mozilla/revert-1291-833026
Browse files Browse the repository at this point in the history
Revert "[833026] Multiple event attendees should be a grid"
  • Loading branch information
akatsoulas authored Dec 22, 2016
2 parents 95834b0 + ef431ec commit b0ec067
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions remo/events/templates/view_event.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -299,18 +299,8 @@ Mozilla Reps - {{ event.name }}
</div>
</div>
<!-- END Mashup code -->

{% macro display_attendee(attendee) -%}
{% if event|get_total_attendees >= 3 %}
<div class="row">
<div class="event-single-attendee">
<div class="large-3 small-3 columns grid-profile-image">
<img src="{{ attendee|get_avatar_url }}"
class="profiles-people-avatar"
alt="Avatar">
</div>
</div>
</div>
{% else %}
<div class="event-single-attendee">
<div class="row">
<div class="large-3 small-3 columns grid-profile-image">
Expand All @@ -326,7 +316,6 @@ Mozilla Reps - {{ event.name }}
</div>
</div>
</div>
{% endif %}
{%- endmacro %}
<div class="row">
<div class="large-7 columns">
Expand Down

0 comments on commit b0ec067

Please sign in to comment.