|
|
|
@ -1,3 +1,15 @@
|
|
|
|
|
- if params[:id].include? 'libre-en-fete'
|
|
|
|
|
Ces événements s'inscrivent dans le cadre de
|
|
|
|
|
%a(href='https://www.libre-en-fete.net')
|
|
|
|
|
= image_tag 'lef.png', width: '180', height: '60', alt: 'Libre en Fete',
|
|
|
|
|
style: 'vertical-align: middle'
|
|
|
|
|
- elsif params[:id].include? 'linux-presentation-day'
|
|
|
|
|
Ces événements s'inscrivent dans le cadre de
|
|
|
|
|
%a(href='http://www.linux-presentation-day.org')
|
|
|
|
|
= image_tag 'linux-presentation-day.png',
|
|
|
|
|
width: '150', height: '75', alt: 'Linux presentation day',
|
|
|
|
|
style: 'vertical-align: middle'
|
|
|
|
|
|
|
|
|
|
%h2
|
|
|
|
|
%em.fa.fa-tag
|
|
|
|
|
= title params[:id]
|
|
|
|
@ -65,8 +77,6 @@
|
|
|
|
|
= link_to event do
|
|
|
|
|
- if event.locality?
|
|
|
|
|
%em.locality.fa-li.fa.fa-globe
|
|
|
|
|
- elsif event.tags.any? { |t| t.name.include? 'libre-en-fete' }
|
|
|
|
|
= image_tag 'lef-small.png', alt: 'LEF', width: 16, height: 16
|
|
|
|
|
%em.city{ title: event.address }= event.city
|
|
|
|
|
= event.title
|
|
|
|
|
.date= display_date event
|
|
|
|
|