xmpp.chapril.org-conversejs/src/templates/contacts_panel.html
JC Brand dcf09ee924 Add new option include_offline_state which is by default false
We remove the offline state as a choice in the dropdown because
'offline' is not a valid XMPP state and it doesn't propagate across tabs.

Updates: #547
2016-01-18 10:40:59 +00:00

16 lines
625 B
HTML

<form class="pure-form set-xmpp-status" action="" method="post">
<span id="xmpp-status-holder">
<select id="select-xmpp-status" style="display:none">
<option value="online">{{label_online}}</option>
<option value="dnd">{{label_busy}}</option>
<option value="away">{{label_away}}</option>
{[ if (include_offline_state) { ]}
<option value="offline">{{label_offline}}</option>
{[ } ]}
{[ if (allow_logout) { ]}
<option value="logout">{{label_logout}}</option>
{[ } ]}
</select>
</span>
</form>