2017-11-05 18:47:30 +01:00
|
|
|
<li class="{{{ o.role }}} occupant" id="{{{ o.id }}}"
|
|
|
|
{[ if (o.role === "moderator") { ]}
|
|
|
|
title="{{{ o.jid }}} {{{ o.desc_moderator }}} {{{ o.hint_occupant }}}"
|
2014-01-19 05:21:49 +01:00
|
|
|
{[ } ]}
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.role === "occupant") { ]}
|
|
|
|
title="{{{ o.jid }}} {{{ o.desc_occupant }}} {{{ o.hint_occupant }}}"
|
2014-01-19 05:21:49 +01:00
|
|
|
{[ } ]}
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (o.role === "visitor") { ]}
|
|
|
|
title="{{{ o.jid }}} {{{ o.desc_visitor }}} {{{ o.hint_occupant }}}"
|
2017-02-19 01:57:06 +01:00
|
|
|
{[ } ]}
|
2017-11-05 18:47:30 +01:00
|
|
|
{[ if (!_.includes(["visitor", "occupant", "moderator"], o.role)) { ]}
|
|
|
|
title="{{{ o.jid }}} {{{ o.hint_occupant }}}"
|
|
|
|
{[ } ]}><div class="occupant-status occupant-{{{o.show}}} circle" title="{{{o.hint_show}}}"></div>{{{o.nick}}}</li>
|