2019-04-21 18:09:31 +02:00
|
|
|
-# Used in pages header, event.show and tag.show
|
|
|
|
|
2019-04-24 21:10:22 +02:00
|
|
|
- if tags.to_s.include? 'libre-en-fete'
|
|
|
|
- if controller_name != 'tags' && %w[show edit].include?(action_name)
|
|
|
|
= t '.link'
|
2019-04-21 18:09:31 +02:00
|
|
|
%a(href='https://www.libre-en-fete.net')
|
2019-06-29 22:06:54 +02:00
|
|
|
= image_tag 'lef.png', width: '486', height: '60', alt: 'Libre en Fête',
|
2019-04-21 18:09:31 +02:00
|
|
|
style: 'vertical-align: middle'
|
|
|
|
|
|
|
|
- elsif tags.include? 'linux-presentation-day'
|
2019-04-24 21:10:22 +02:00
|
|
|
- if controller_name != 'tags' && %w[show edit].include?(action_name)
|
|
|
|
= t '.link'
|
2019-04-21 18:09:31 +02:00
|
|
|
%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'
|
2019-04-22 23:53:20 +02:00
|
|
|
|
2019-04-23 10:34:32 +02:00
|
|
|
- elsif action_name == 'index'
|
2019-04-22 23:53:20 +02:00
|
|
|
%em.fa.fa-tag
|
2019-04-25 19:26:03 +02:00
|
|
|
= params[:tag]
|
2019-04-22 23:53:20 +02:00
|
|
|
|
2019-04-23 10:34:32 +02:00
|
|
|
- if action_name == 'index'
|
2019-04-22 23:53:20 +02:00
|
|
|
%a(href="?tag=")
|
|
|
|
%em.fa.fa-times
|