<a class="open-chat {[ if (num_unread) { ]} unread-msgs {[ } ]}"
   title="{{{title_fullname}}}: {{{fullname}}} JID: {{{jid}}} {{{desc_chat}}}"
   href="#">
    <div class="avatar avatar-{{{chat_status}}}">
        <span class="status-icon icon-{{{chat_status}}}" title="{{{desc_status}}}"></span>
    </div>
    {[ if (num_unread) { ]}
    <span class="msgs-indicator">{{{ num_unread }}}</span>
    {[ } ]}
    <span class="contact-name {[ if (num_unread) { ]} unread-msgs {[ } ]}">{{{fullname}}}</span>
</a>
{[ if (allow_contact_removal) { ]}
<a class="remove-xmpp-contact icon-remove" title="{{{desc_remove}}}" href="#"></a>
{[ } ]}


