2018-02-19 20:54:58 +01:00
|
|
|
<div class="room-item">
|
2018-02-16 15:08:16 +01:00
|
|
|
<div class="available-chatroom d-flex flex-row {[ if (o.num_unread_general) { ]} unread-msgs {[ } ]}" data-room-jid="{{{o.jid}}}">
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.num_unread) { ]}
|
|
|
|
<span class="msgs-indicator">{{{ 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}}}"
|
|
|
|
title="{{{o.open_title}}}" href="#">{{{o.name}}}</a>
|
2018-02-16 15:08:16 +01:00
|
|
|
|
2017-06-14 11:14:42 +02:00
|
|
|
<a class="right close-room icon-leave"
|
2017-11-05 18:47:30 +01:00
|
|
|
data-room-jid="{{{o.jid}}}"
|
|
|
|
data-room-name="{{{o.name}}}"
|
|
|
|
title="{{{o.info_leave_room}}}" href="#"> </a>
|
2017-07-19 09:28:44 +02:00
|
|
|
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.allow_bookmarks) { ]}
|
2018-02-16 15:24:17 +01:00
|
|
|
<a class="fa align-self-center {[ 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-02-16 15:08:16 +01:00
|
|
|
<a class="room-info fa fa-info-circle align-self-center" data-room-jid="{{{o.jid}}}"
|
2017-11-05 18:47:30 +01:00
|
|
|
title="{{{o.info_title}}}" href="#"> </a>
|
2018-02-16 15:08:16 +01:00
|
|
|
</div>
|
2018-02-19 18:11:02 +01:00
|
|
|
<div>
|