Libre en fête logo added to corresponding events

This commit is contained in:
echarp 2016-03-01 23:19:47 +01:00
parent 8d7c7e7f02
commit 18af616ce3
2 changed files with 9 additions and 0 deletions

View File

@ -89,6 +89,9 @@ body.events.index table
.event .event
padding-left: 0.2em padding-left: 0.2em
img
// For the LEF icon
vertical-align: middle
a:link, a:visited a:link, a:visited
color: #111 color: #111
font-size: smaller font-size: smaller

View File

@ -1,5 +1,11 @@
- set_event_meta - 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 %h2
- if @event.locality? - if @event.locality?
%em.locality.fa.fa-globe{ title: t('attributes.locality_1') } %em.locality.fa.fa-globe{ title: t('attributes.locality_1') }