388719ff2d
Trying to use more generic CSS selectors and to extract out common patterns.
11 lines
578 B
HTML
11 lines
578 B
HTML
<a class="list-item-link cbox-list-item open-chat w-100 {[ if (o.num_unread) { ]} unread-msgs {[ } ]}"
|
|
title="{{{o.desc_chat}}}" href="#">
|
|
<span class="fa {{{o.status_icon}}}" title="{{{o.desc_status}}}"></span>
|
|
{[ if (o.num_unread) { ]}
|
|
<span class="msgs-indicator">{{{ o.num_unread }}}</span>
|
|
{[ } ]}
|
|
<span class="contact-name {[ if (o.num_unread) { ]} unread-msgs {[ } ]}">{{{o.display_name}}}</span></a>
|
|
{[ if (o.allow_contact_removal) { ]}
|
|
<a class="list-item-action remove-xmpp-contact fa fa-trash" title="{{{o.desc_remove}}}" href="#"></a>
|
|
{[ } ]}
|