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

11 lines
386 B
Plaintext
Raw Normal View History

%li.event{ title: display_date(event) }
- if event.locality?
%em.locality.fa.fa-globe
2016-04-08 18:17:54 +02:00
- elsif event.tags && 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
- if event.repeat > 0
%em.fa.fa-repeat{ title: event.schedule }