%= if @event.picture do %> <%= render("participation/card/_picture.html", event: @event) %> <% end %> <%= render("participation/card/_title.html", event: @event) %> <%= render("participation/card/_metadata.html", event: @event, timezone: @timezone, locale: @locale, action: @action ) %> <%= case @action do %> <% "participation" -> %>
<% "event" -> %> <% nil -> %> <% end %> <%= if @event.description && @action != nil do %><%= gettext("Details") %>
<%= process_description(@event.description) %>
<%= if String.length(@event.description) > 200 do %> <% end %>