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 a
padding: 0.5em 0 padding: 0.5em 0
display: block display: block
ul
text-align: left
margin-left: 1em
list-style-type: none
li
margin-left: 2em
#advises #advises
border: 1px solid #FFB578 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' - if @event.persisted? && request.format == 'text/html' && controller.controller_name == 'events' && controller.action_name == 'show'
%aside#lug-list %aside#lug-list
- if @event.related_region.lugs.present? - if @event.related_region.lugs.present?
%h1=t '.lug-list' %h1
%em.fa.fa-users
=t '.lug-list'
- if @event.related_region - if @event.related_region
%ul %ul
- @event.related_region.lugs.order(department: :asc).each do |lug| - @event.related_region.lugs.order(department: :asc).each do |lug|
%li %li
= image_tag lug.url+'/favicon.ico', alt: '', class: :favicon
= link_to lug.name, lug = link_to lug.name, lug
(#{lug.department}) (#{lug.department})
= link_to lug.url do
= image_tag lug.url+'/favicon.ico', alt: '', class: :favicon
%h1=t '.actions' %h1=t '.actions'
%h2 %h2