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}}}">
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.num_unread) { ]}
|
2018-03-11 13:56:53 +01:00
|
|
|
<span class="msgs-indicator badge badge-info">{{{ o.num_unread }}}</span>
|
2017-05-15 19:08:08 +02:00
|
|
|
{[ } ]}
|
2018-02-16 15:08:16 +01:00
|
|
|
<a class="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-07-02 23:29:57 +02:00
|
|
|
<a class="fa {[ if (o.bookmarked) { ]} fa-bookmark remove-bookmark button-on {[ } else { ]} add-bookmark fa-bookmark-o {[ } ]}"
|
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}}} {[ } ]}"
|
2017-08-09 15:50:24 +02:00
|
|
|
href="#"> </a>
|
2017-07-19 09:28:44 +02:00
|
|
|
{[ } ]}
|
2018-07-02 23:29:57 +02:00
|
|
|
<a class="room-info fa fa-info-circle" data-room-jid="{{{o.jid}}}"
|
2017-11-05 18:47:30 +01:00
|
|
|
title="{{{o.info_title}}}" href="#"> </a>
|
2018-07-02 23:29:57 +02:00
|
|
|
|
|
|
|
<a class="fa fa-times close-room"
|
|
|
|
data-room-jid="{{{o.jid}}}"
|
|
|
|
data-room-name="{{{o.name || o.jid}}}"
|
|
|
|
title="{{{o.info_leave_room}}}" href="#"> </a>
|
|
|
|
|
2018-02-16 15:08:16 +01:00
|
|
|
</div>
|