From 18af616ce33bef9dbf4553a1015e70469c19e51c Mon Sep 17 00:00:00 2001 From: echarp Date: Tue, 1 Mar 2016 23:19:47 +0100 Subject: [PATCH] =?UTF-8?q?Libre=20en=20f=C3=AAte=20logo=20added=20to=20co?= =?UTF-8?q?rresponding=20events?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/events.sass | 3 +++ app/views/events/show.html.haml | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/app/assets/stylesheets/events.sass b/app/assets/stylesheets/events.sass index ca044577..20aa813c 100644 --- a/app/assets/stylesheets/events.sass +++ b/app/assets/stylesheets/events.sass @@ -89,6 +89,9 @@ body.events.index table .event padding-left: 0.2em + img + // For the LEF icon + vertical-align: middle a:link, a:visited color: #111 font-size: smaller diff --git a/app/views/events/show.html.haml b/app/views/events/show.html.haml index 488d59d1..f19db551 100644 --- a/app/views/events/show.html.haml +++ b/app/views/events/show.html.haml @@ -1,5 +1,11 @@ - set_event_meta +- if @event.tags.include? 'libre-en-fete' + Cet événement s'inscrit dans le cadre de + %a(href='http://www.libre-en-fete.net') + = image_tag 'lef.png', width: '180', height: '60', alt: 'Libre en Fete', + style: 'vertical-align: middle' + %h2 - if @event.locality? %em.locality.fa.fa-globe{ title: t('attributes.locality_1') }