Indication de localité mieux présentée
This commit is contained in:
parent
a54ac0df12
commit
6aff381955
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user