2018-10-17 15:47:43 +02:00
|
|
|
- if action_name == 'index' && controller_name != 'tags'
|
|
|
|
.digest
|
|
|
|
- if params[:tag].present?
|
|
|
|
%span.tag
|
2019-04-19 17:13:32 +02:00
|
|
|
- if params[:tag].include? 'libre-en-fete'
|
|
|
|
%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[:tag].include? 'linux-presentation-day'
|
|
|
|
%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'
|
|
|
|
- else
|
|
|
|
%em.fa.fa-tag
|
|
|
|
= params[:tag]
|
2018-10-17 15:47:43 +02:00
|
|
|
%a(href="?tag=")
|
|
|
|
%em.fa.fa-times
|
|
|
|
|
2019-02-27 13:43:20 +01:00
|
|
|
- if params[:near].present? && params[:near][:location].present? && params[:near][:distance].present?
|
2018-10-17 15:47:43 +02:00
|
|
|
%span.near
|
|
|
|
%em.fa.fa-map-pin
|
|
|
|
= params[:near][:location]
|
|
|
|
%em.fa.fa-arrows-alt-h
|
|
|
|
= params[:near][:distance]
|
|
|
|
km
|
|
|
|
%a(href="?near=")
|
|
|
|
%em.fa.fa-times
|