Les favicons des asso sont maintenant à droite

This commit is contained in:
echarp 2014-10-15 01:35:42 +02:00
parent 5ccb7be62b
commit 3186cacb22
2 changed files with 5 additions and 8 deletions

View File

@ -141,12 +141,6 @@ aside#lug-list
a
padding: 0.5em 0
display: block
ul
text-align: left
margin-left: 1em
list-style-type: none
li
margin-left: 2em
#advises
border: 1px solid #FFB578

View File

@ -11,14 +11,17 @@
- if @event.persisted? && request.format == 'text/html' && controller.controller_name == 'events' && controller.action_name == 'show'
%aside#lug-list
- if @event.related_region.lugs.present?
%h1=t '.lug-list'
%h1
%em.fa.fa-users
=t '.lug-list'
- if @event.related_region
%ul
- @event.related_region.lugs.order(department: :asc).each do |lug|
%li
= image_tag lug.url+'/favicon.ico', alt: '', class: :favicon
= link_to lug.name, lug
(#{lug.department})
= link_to lug.url do
= image_tag lug.url+'/favicon.ico', alt: '', class: :favicon
%h1=t '.actions'
%h2