dcf09ee924
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
16 lines
625 B
HTML
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>
|