From 48e7fbc6c6bf888016db6bf36e2abb65b3904bb4 Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 28 Sep 2014 00:46:35 +0200 Subject: [PATCH] =?UTF-8?q?Petite=20correction=20sur=20affichage=20du=20s?= =?UTF-8?q?=C3=A9lecteur=20de=20r=C3=A9gion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/region.css.sass | 1 + app/views/regions/_selector.haml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/app/assets/stylesheets/region.css.sass b/app/assets/stylesheets/region.css.sass index 07f8a9cc..e81fd2cc 100644 --- a/app/assets/stylesheets/region.css.sass +++ b/app/assets/stylesheets/region.css.sass @@ -8,6 +8,7 @@ color: gray ul margin: 0 + z-index: 10 display: none position: absolute margin-top: -7em diff --git a/app/views/regions/_selector.haml b/app/views/regions/_selector.haml index e1f2a62f..d5717cdc 100644 --- a/app/views/regions/_selector.haml +++ b/app/views/regions/_selector.haml @@ -2,10 +2,12 @@ -# Display the currently selected region %h3 - if params[:region] && params[:region] != 'all' + %em.locality.fa.fa-shield = Region.find params[:region] %em.fa.fa-chevron-down - else %span.placeholder + %em.locality.fa.fa-globe =t '.all_regions' %em.fa.fa-chevron-down