Icons for global event and "libre en fete" can be added and seen together

Closes #122
This commit is contained in:
echarp 2018-03-17 16:22:36 +01:00
parent 803dfc94a3
commit 08e53af140
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
%li.event{ title: display_date(event) }
- if event.locality?
%em.locality.fa.fa-globe
- elsif event.tags.any? { |t| t.name.include? 'libre-en-fete' }
- 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