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

This commit is contained in:
JC Brand 2013-08-29 20:06:17 +02:00
parent 5cb74239c3
commit c5e44a02fa
2 changed files with 3 additions and 2 deletions

View File

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

View File

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