xmpp.chapril.org-conversejs/src/templates/occupant.html

14 lines
622 B
HTML
Raw Normal View History

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