Explorar el Código

Update roster snippet to be same as mockup.

JC Brand hace 12 años
padre
commit
e530094acc
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3 2
      converse.js

+ 3 - 2
converse.js

@@ -1840,8 +1840,9 @@
             },
             },
 
 
             template: _.template(
             template: _.template(
-                '<a class="open-chat" title="'+__('Click to chat with this contact')+'" href="#">{{ fullname }}</a>' +
-                '<span class="icon-{{ chat_status }}" title="{{ status_desc }}"></span>'+
+                '<a class="open-chat" title="'+__('Click to chat with this contact')+'" href="#">'+
+                    '<span class="icon-{{ chat_status }}" title="{{ status_desc }}"></span>{{ fullname }}'+
+                '</a>' +
                 '<a class="remove-xmpp-contact" title="'+__('Click to remove this contact')+'" href="#"></a>'),
                 '<a class="remove-xmpp-contact" title="'+__('Click to remove this contact')+'" href="#"></a>'),
 
 
             pending_template: _.template(
             pending_template: _.template(