agenda-libre-ruby/app/views/tags/_context.html.haml

22 lines
697 B
Plaintext
Raw Normal View History

-# Used in pages header, event.show and tag.show
- if tags.include? 'libre-en-fete'
= t '.link' if action_name == 'show'
%a(href='https://www.libre-en-fete.net')
= image_tag 'lef.png', width: '180', height: '60', alt: 'Libre en Fête',
style: 'vertical-align: middle'
- elsif tags.include? 'linux-presentation-day'
= t '.link' if action_name == 'show'
%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
- elsif action_name != 'show'
%em.fa.fa-tag
= params[:tag]
- if action_name != 'show'
%a(href="?tag=")
%em.fa.fa-times