Better correction :)

This commit is contained in:
echarp 2016-04-08 18:17:54 +02:00
parent 28fe903d58
commit 98c9eeb22e
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -1,6 +1,6 @@
- set_event_meta
- if @event.tags && @event.tags.include? 'libre-en-fete'
- if @event.tags && @event.tags.include?('libre-en-fete')
Cet événement s'inscrit dans le cadre de
%a(href='http://www.libre-en-fete.net')
= image_tag 'lef.png', width: '180', height: '60', alt: 'Libre en Fete',