29 lines
1.0 KiB
Plaintext
29 lines
1.0 KiB
Plaintext
- if action_name == 'index' && controller_name != 'tags'
|
|
.digest
|
|
- if params[:tag].present?
|
|
%span.tag
|
|
- 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]
|
|
%a(href="?tag=")
|
|
%em.fa.fa-times
|
|
|
|
- if params[:near].present? && params[:near][:location].present? && params[:near][:distance].present?
|
|
%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
|