negos_app/app/views/admin/customers/_connected_customers.html.haml

24 lines
572 B
Plaintext

%tr#customer_row
%td
= link_to "#{customer.firstname} #{customer.name} ",edit_admin_customer_path(customer)
%td
= link_to customer.organisation, edit_admin_customer_path(customer)
%td
-if customer.phone?
= i("phone") + " #{customer.phone}"
%td
=customer.city
%td
=link_to customer.email, "mailto:#{customer.email}"
%td
=customer.last_activity
="(Il y a #{time_ago_in_words(customer.last_activity)})"
%td.actions{:style => "width:150px;text-align:right;"}
=link_to i(:"comments"), admin_conversation_path(customer)