Commit c7ae1880 authored by JC Brand's avatar JC Brand

Re-add signout icon and hide clear-text icon when appropriate

parent 4903d748
......@@ -79562,7 +79562,7 @@ __e(o.title_your_profile) +
__e(o.title_change_status) +
'" data-toggle="modal" data-target="#settingsModal"></a> -->\n ';
if (o._converse.allow_logout) { ;
__p += '\n <a class="chatbox-btn logout fa fa-sign-out align-self-center" title="' +
__p += '\n <a class="chatbox-btn logout fa fa-sign-out-alt align-self-center" title="' +
__e(o.title_log_out) +
'"></a>\n ';
} ;
......@@ -80078,7 +80078,7 @@ __p += ' hidden ';
__p += '"\n placeholder="' +
__e(o.placeholder) +
'">\n <span class="clear-input fa fa-times ';
if (!o.filter_text) { ;
if (!o.filter_text || o.filter_type === 'state') { ;
__p += ' hidden ';
} ;
__p += '"></span>\n </div>\n\n <select class="form-control state-type ';
......@@ -7,7 +7,7 @@
<!-- <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> -->
{[ if (o._converse.allow_logout) { ]}
<a class="chatbox-btn logout fa fa-sign-out align-self-center" title="{{{o.title_log_out}}}"></a>
<a class="chatbox-btn logout fa fa-sign-out-alt align-self-center" title="{{{o.title_log_out}}}"></a>
{[ } ]}
</div>
<div class="d-flex xmpp-status">
......
......@@ -4,7 +4,7 @@
<input {[ if (o.filter_text) { ]} value="{{{o.filter_text}}}" {[ } ]}
class="roster-filter form-control {[ if (o.filter_type === 'state') { ]} hidden {[ } ]}"
placeholder="{{{o.placeholder}}}">
<span class="clear-input fa fa-times {[ if (!o.filter_text) { ]} hidden {[ } ]}"></span>
<span class="clear-input fa fa-times {[ if (!o.filter_text || o.filter_type === 'state') { ]} hidden {[ } ]}"></span>
</div>
<select class="form-control state-type {[ if (o.filter_type !== 'state') { ]} hidden {[ } ]}">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment