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