Prechádzať zdrojové kódy

Update roster snippet to be same as mockup.

JC Brand 12 rokov pred
rodič
commit
e530094acc
1 zmenil súbory, kde vykonal 3 pridanie a 2 odobranie
  1. 3 2
      converse.js

+ 3 - 2
converse.js

@@ -1840,8 +1840,9 @@
             },
 
             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>'),
 
             pending_template: _.template(