Browse Source

Libre en fête and linux presentation day logos better sized

remotes/origin/master
echarp 3 years ago
parent
commit
9162335076
  1. 4
      app/views/regions/_filter.haml
  2. 2
      app/views/tags/_context.html.haml

4
app/views/regions/_filter.haml

@ -1,7 +1,7 @@
-# Choose a region to filter events with
%ul.regions
%li#near-me{ class: ('selected' if params[:near].present?) }
- if params[:near].present? && params[:near][:location].present?
%li#near-me{ class: ('selected' if (params[:near] && params[:near][:location]).present?) }
- if (params[:near] && params[:near][:location]).present?
%a(href="?near=")
%em.fa.fa-map-pin
= params[:near][:location]

2
app/views/tags/_context.html.haml

@ -4,7 +4,7 @@
- if controller_name != 'tags' && %w[show edit].include?(action_name)
= t '.link'
%a(href='https://www.libre-en-fete.net')
= image_tag 'lef.png', width: '180', height: '60', alt: 'Libre en Fête',
= image_tag 'lef.png', width: '486', height: '60', alt: 'Libre en Fête',
style: 'vertical-align: middle'
- elsif tags.include? 'linux-presentation-day'

Loading…
Cancel
Save