Honor the allow_logout setting
This commit is contained in:
parent
11788bb7a1
commit
8fda25c997
@ -114,6 +114,7 @@
|
||||
'status_message': this.model.get('status_message') ||
|
||||
__("I am %1$s", this.getPrettyStatus(chat_status)),
|
||||
'chat_status': chat_status,
|
||||
'_converse': _converse,
|
||||
'title_change_settings': __('Change settings'),
|
||||
'title_change_status': __('Click to change your chat status'),
|
||||
'title_log_out': __('Log out'),
|
||||
|
@ -8,7 +8,9 @@
|
||||
<span class="username w-100 align-self-center">{{{o.fullname}}}</span>
|
||||
<!-- <a class="chatbox-btn fa fa-vcard align-self-center" title="{{{o.title_your_profile}}}" data-toggle="modal" data-target="#userProfileModal"></a> -->
|
||||
<!-- <a class="chatbox-btn fa fa-cog align-self-center" title="{{{o.title_change_status}}}" data-toggle="modal" data-target="#settingsModal"></a> -->
|
||||
<a class="chatbox-btn logout fa fa-sign-out align-self-center" title="{{{o.title_log_out}}}"></a>
|
||||
{[ if (o._converse.allow_logout) { ]}
|
||||
<a class="chatbox-btn logout fa fa-sign-out align-self-center" title="{{{o.title_log_out}}}"></a>
|
||||
{[ } ]}
|
||||
</div>
|
||||
<div class="d-flex xmpp-status">
|
||||
<span class="{{{o.chat_status}}} w-100 align-self-center" data-value="{{{o.chat_status}}}">
|
||||
|
Loading…
Reference in New Issue
Block a user