Merge pull request #672 from sgmap/more_beautiful_procedure_list

New_design: make the procedure list more awesome
This commit is contained in:
gregoirenovel 2017-08-28 16:53:33 +02:00 committed by Mathieu Magnin
commit 0f0918b4c5

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