New_design: make the procedure list more awesome

This commit is contained in:
Simon Lehericey 2017-08-28 16:44:06 +02:00 committed by Mathieu Magnin
parent 374e284f3c
commit 49a656db76

View file

@ -4,11 +4,11 @@
%ul.procedure-list %ul.procedure-list
- @procedures.each do |p| - @procedures.each do |p|
%li.procedure-item.flex.align-start %li.procedure-item.flex.align-start
- if p.logo.present?
= image_tag p.logo, class: "procedure-logo"
.procedure-details .procedure-details
%p.procedure-title %p.procedure-title
- if p.logo.present?
= image_tag p.logo, class: "procedure-logo"
= link_to(p.libelle, procedure_path(p)) = link_to(p.libelle, procedure_path(p))
%ul.procedure-stats.flex %ul.procedure-stats.flex