.white.padding.message-item -if message.customer %h4 =message.customer.anonyme_nick -if @need.referent_technique and message.customer.id == @need.referent_technique.id and message.customer.id == @need.referent_negos.id (référent technique & négociation) -elsif @need.referent_technique and message.customer.id == @need.referent_technique.id (référent technique) -elsif @need.referent_negos and message.customer.id == @need.referent_negos.id (référent négociation) -elsif message.admin %h4 ="#{message.admin.fullname}" %span{style:"color:red"} ="ADMINISTRATEUR" %p.info=i(:"clock-o") + " Posté le #{message.created_at.strftime('%d/%m/%Y à %H:%M')}, il y a #{time_ago_in_words(message.created_at)}" %p= message.content