浏览代码

Bugfix. The remove icon wasn't being shown for contacts.

JC Brand 12 年之前
父节点
当前提交
c5e44a02fa
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 0
      converse.css
  2. 2 2
      converse.js

+ 1 - 0
converse.css

@@ -569,6 +569,7 @@ dd.available-chatroom:hover a.room-info {
 }
 
 #converse-roster a.open-chat {
+    line-height: 21px;
     width: 85%;
 }
 #converse-roster  dd:hover a.open-chat {

+ 2 - 2
converse.js

@@ -1848,11 +1848,11 @@
                 '<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 icon-remove" title="'+__('Click to remove this contact')+'" href="#"></a>'),
 
             pending_template: _.template(
                 '<span>{{ fullname }}</span>' +
-                '<a class="remove-xmpp-contact" title="'+__('Click to remove this contact')+'" href="#"></a>'),
+                '<a class="remove-xmpp-contact icon-remove" title="'+__('Click to remove this contact')+'" href="#"></a>'),
 
             request_template: _.template('<div>{{ fullname }}</div>' +
                 '<button type="button" class="accept-xmpp-request">' +