[useradmin] Harmonize add user icons
@@ -46,19 +46,22 @@ ${layout.menubar(section='users')}
</%def>
<%def name="creation()">
% if is_admin(user):
- % if not is_ldap_setup:
- <a href="${ url('useradmin.views.edit_user') }" class="btn"><i class="fa fa-user"></i> ${_('Add user')}</a>
- %endif
% if is_ldap_setup:
- <a href="${ url('useradmin.views.add_ldap_users') }" class="btn"><i class="fa fa-briefcase"></i> ${_('Add/Sync LDAP user')}</a>
+ <a href="${ url('useradmin.views.add_ldap_users') }" class="btn">
+ <i class="fa fa-plus-circle"></i> ${_('Add/Sync LDAP user')}
+ </a>
<a href="javascript:void(0)" class="btn confirmationModal"
data-confirmation-url="${ url('useradmin_views_sync_ldap_users_groups') }${ is_embeddable and '?is_embeddable=true' or ''}">
<i class="fa fa-refresh"></i> ${_('Sync LDAP users/groups')}
</a>
+ % else:
+ <a href="${ url('useradmin.views.edit_user') }" class="btn">
+ <i class="fa fa-plus-circle"></i> ${_('Add user')}
+ </a>
% endif
- <a href="http://gethue.com/making-hadoop-accessible-to-your-employees-with-ldap/"
+ <a href="https://docs.gethue.com/administrator/administration/user-management/"
title="${ _('Learn how to integrate Hue with your company LDAP') }" target="_blank">
<i class="fa fa-question-circle"></i>
</a>
