From 168e44eda5cdb2f4cb472cbb31aa6e875dbadd4b Mon Sep 17 00:00:00 2001
From: echarp <emmanuel.charpentier@free.fr>
Date: Thu, 6 Mar 2014 23:10:36 +0100
Subject: [PATCH] =?UTF-8?q?Banni=C3=A8re=20ajout=C3=A9e=20au=20calendrier?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/assets/stylesheets/all.css.sass     | 5 ++++-
 app/assets/stylesheets/events.css.sass  | 2 +-
 app/views/layouts/application.html.haml | 4 ++++
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/app/assets/stylesheets/all.css.sass b/app/assets/stylesheets/all.css.sass
index e2a821c76..7956598cd 100644
--- a/app/assets/stylesheets/all.css.sass
+++ b/app/assets/stylesheets/all.css.sass
@@ -46,7 +46,10 @@ header.top
     margin-top: 0.9em
     font-style: italic
     font-weight: normal
-    padding-bottom: 5px
+
+  a#banner img
+    display: inline-block
+    margin-top: 1.4em
 
   ul.countries
     top: -8px
diff --git a/app/assets/stylesheets/events.css.sass b/app/assets/stylesheets/events.css.sass
index 4cacb8edc..2c354b7f1 100644
--- a/app/assets/stylesheets/events.css.sass
+++ b/app/assets/stylesheets/events.css.sass
@@ -9,7 +9,7 @@ form.region_selector
 
 main form.region_selector + h2
   width: 100%
-  margin-top: 1.1em
+  margin-top: 1em
   margin-bottom: 2.32em
   a
     font-weight: normal
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml
index d10052633..e65433f12 100644
--- a/app/views/layouts/application.html.haml
+++ b/app/views/layouts/application.html.haml
@@ -35,6 +35,10 @@
       %h1= link_to t('.title'), root_url
       %h2=t '.subtitle'
 
+      %a#banner(href="http://april.org/campagne")
+        %img(src="http://april.org/campagne/images/priorite-logiciel-libre-je-soutiens-april.png"
+          width="580" height="76" alt="Priorité au Logiciel Libre! Je soutiens l'April.")
+
       %ul.countries
         %li
           = link_to 'http://www.agendadulibre.org' do
-- 
GitLab