20 lines
557 B
Plaintext
20 lines
557 B
Plaintext
-if thing_conversation.thing_type == "Customer"
|
|
|
|
.customer
|
|
-if thing_conversation.thing == current_customer
|
|
moi
|
|
-else
|
|
=#link_to thing_conversation.thing.anonyme_nick, [:public, thing_conversation.thing]
|
|
=thing_conversation.thing.anonyme_nick
|
|
|
|
-chef = false
|
|
- current_customer.reseauxes.each do |reseaux|
|
|
-if thing_conversation.thing == reseaux.chef_reseau
|
|
-chef = true
|
|
-if chef
|
|
(chef réseau)
|
|
|
|
-if thing_conversation.thing_type == "Reseaux"
|
|
|
|
.reseaux
|
|
=thing_conversation.thing.name |