2018-07-02 23:29:57 +02:00
|
|
|
<div class="list-item controlbox-padded available-chatroom d-flex flex-row
|
|
|
|
{[ if (o.currently_open) { ]} open {[ } ]}
|
|
|
|
{[ if (o.num_unread_general) { ]} unread-msgs {[ } ]}"
|
|
|
|
data-room-jid="{{{o.jid}}}">
|
2018-12-07 11:27:57 +01:00
|
|
|
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.num_unread) { ]}
|
2018-12-07 11:27:57 +01:00
|
|
|
<span class="list-item-badge badge badge-room-color msgs-indicator">{{{ o.num_unread }}}</span>
|
2017-05-15 19:08:08 +02:00
|
|
|
{[ } ]}
|
2018-07-04 10:46:52 +02:00
|
|
|
<a class="list-item-link open-room available-room w-100"
|
2017-11-05 18:47:30 +01:00
|
|
|
data-room-jid="{{{o.jid}}}"
|
2018-03-11 13:56:53 +01:00
|
|
|
title="{{{o.open_title}}}" href="#">{{{o.name || o.jid}}}</a>
|
2018-02-16 15:08:16 +01:00
|
|
|
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.allow_bookmarks) { ]}
|
2018-12-12 13:59:59 +01:00
|
|
|
<a class="list-item-action fa {[ if (o.bookmarked) { ]} fa-bookmark remove-bookmark button-on {[ } else { ]} add-bookmark fa-bookmark {[ } ]}"
|
2017-11-05 18:47:30 +01:00
|
|
|
data-room-jid="{{{o.jid}}}" data-bookmark-name="{{{o.name}}}"
|
|
|
|
title="{[ if (o.bookmarked) { ]} {{{o.info_remove_bookmark}}} {[ } else { ]} {{{o.info_add_bookmark}}} {[ } ]}"
|
2018-11-14 18:10:23 +01:00
|
|
|
href="#"></a>
|
2017-07-19 09:28:44 +02:00
|
|
|
{[ } ]}
|
2018-07-04 10:46:52 +02:00
|
|
|
|
|
|
|
<a class="list-item-action room-info fa fa-info-circle" data-room-jid="{{{o.jid}}}"
|
2018-11-14 18:10:23 +01:00
|
|
|
title="{{{o.info_title}}}" href="#"></a>
|
2018-07-02 23:29:57 +02:00
|
|
|
|
2018-12-10 13:31:18 +01:00
|
|
|
<a class="list-item-action fa fa-sign-out-alt close-room"
|
2018-07-02 23:29:57 +02:00
|
|
|
data-room-jid="{{{o.jid}}}"
|
|
|
|
data-room-name="{{{o.name || o.jid}}}"
|
2018-11-14 18:10:23 +01:00
|
|
|
title="{{{o.info_leave_room}}}" href="#"></a>
|
2018-07-02 23:29:57 +02:00
|
|
|
|
2018-02-16 15:08:16 +01:00
|
|
|
</div>
|