From 6aff381955e64bb657058000f98524f5ae6eb67f Mon Sep 17 00:00:00 2001 From: echarp Date: Sun, 28 Sep 2014 12:27:51 +0200 Subject: [PATCH] =?UTF-8?q?Indication=20de=20localit=C3=A9=20mieux=20pr?= =?UTF-8?q?=C3=A9sent=C3=A9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/assets/stylesheets/events.css.sass | 4 ++-- app/views/events/index.html.haml | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/app/assets/stylesheets/events.css.sass b/app/assets/stylesheets/events.css.sass index 4b7e09a4..6b5e5b69 100644 --- a/app/assets/stylesheets/events.css.sass +++ b/app/assets/stylesheets/events.css.sass @@ -85,10 +85,10 @@ body.events.index table margin: 0 padding: 0 margin-top: 0.4em - &.national - border-bottom: solid 3px lightgray em.fa-li font-size: smaller + &.fa-globe + color: red em.fa-li:before margin-right: -1em diff --git a/app/views/events/index.html.haml b/app/views/events/index.html.haml index 2cb77ac8..6e246c71 100644 --- a/app/views/events/index.html.haml +++ b/app/views/events/index.html.haml @@ -42,8 +42,6 @@ %li.event(class="#{event.locality? ? 'national' : 'local'}" title="#{display_date(event)}") - if event.locality? %em.locality.fa.fa-li.fa-globe(title="#{Event.human_attribute_name :locality} #{t 'attributes.locality_1'}") - - else - %em.locality.fa.fa-li.fa-shield(title="#{Event.human_attribute_name :locality} #{t 'attributes.locality_0'}") = link_to event do %strong.city(title="#{event.full_address}")= event.city = event.title