.col-md-6 .padding.need-item %h4 =link_to need.title.upcase, public_need_path(need) %p.info=i(:"clock-o") + " Ajouté il y a #{time_ago_in_words(need.created_at)} par #{need.author.anonyme_nick}" %span .info=i(:"info-circle") + " " + need.human_state %p.description=truncate(need.description, length: 100) .counters .item=i(:"hand-paper-o") + " " + need.wishes.length.to_s .item=i(:"comment-o") + " " + need.messages.length.to_s -if(need.customers.include?(current_customer)) =link_to i(:"check") + " Intéressé", wish_public_need_path(need) , :class => "btn btn-success pull-right" -else =link_to i(:"hand-paper-o") + " Ça m'intéresse !", wish_public_need_path(need) , :class => "btn btn-primary pull-right" .clear