Indication de localité mieux présentée

This commit is contained in:
echarp 2014-09-28 12:27:51 +02:00
parent a54ac0df12
commit 6aff381955
2 changed files with 2 additions and 4 deletions

View File

@ -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

View File

@ -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