Explorar el Código

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

JC Brand hace 6 años
padre
commit
c7ae188002
Se han modificado 3 ficheros con 4 adiciones y 4 borrados
  1. 2 2
      dist/converse.js
  2. 1 1
      src/templates/profile_view.html
  3. 1 1
      src/templates/roster_filter.html

+ 2 - 2
dist/converse.js

@@ -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 ';

+ 1 - 1
src/templates/profile_view.html

@@ -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">

+ 1 - 1
src/templates/roster_filter.html

@@ -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 {[ } ]}">