agenda-libre-ruby/app/views/events/_event.haml

9 lines
297 B
Plaintext

%li.event{ title: display_date(event) }
- if event.locality?
%em.locality.fa.fa-globe
- elsif event.tags.include? 'libre-en-fete'
= image_tag 'lef-small.png', alt: 'LEF', width: 16, height: 16
= link_to event do
%strong.city{ title: event.address }= event.city
= event.title