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

11 lines
395 B
Plaintext
Raw Normal View History

%li.event{ title: display_date(event) }
- if event.locality?
%em.locality.fa.fa-globe
- if event.tags.any? { |t| t.name.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
2018-09-23 18:06:52 +02:00
- if event.repeat&.positive?
%em.fa.fa-repeat{ title: event.schedule }