xmpp.chapril.org-conversejs/src/templates/rooms_list_item.html

22 lines
926 B
HTML
Raw Normal View History

<dd class="available-chatroom {[ if (num_unread_general) { ]} unread-msgs {[ } ]}" data-room-jid="{{{jid}}}">
{[ if (num_unread) { ]}
<span class="msgs-indicator">{{{ num_unread }}}</span>
{[ } ]}
<a class="open-room"
data-room-jid="{{{jid}}}"
title="{{{open_title}}}" href="#">{{{name}}}</a>
<a class="right close-room icon-leave"
data-room-jid="{{{jid}}}"
data-room-name="{{{name}}}"
title="{{{info_leave_room}}}" href="#">&nbsp;</a>
{[ if (allow_bookmarks) { ]}
<a class="right icon-pushpin {[ if (bookmarked) { ]} remove-bookmark button-on {[ } else { ]} add-bookmark {[ } ]}"
data-room-jid="{{{jid}}}" data-bookmark-name="{{{name}}}"
title="{[ if (bookmarked) { ]} {{{info_remove_bookmark}}} {[ } else { ]} {{{info_add_bookmark}}} {[ } ]}"
href="#">&nbsp;</a>
{[ } ]}
<a class="right room-info icon-room-info" data-room-jid="{{{jid}}}"
title="{{{info_title}}}" href="#">&nbsp;</a>
</dd>