UX: move Impersonate to the bottom of page

This commit is contained in:
Arpit Jalan 2018-03-14 00:05:50 +05:30
parent 31a0c4a9be
commit b18fec4d5d
1 changed files with 6 additions and 3 deletions

View File

@ -11,9 +11,6 @@
{{d-button action="viewActionLogs" actionParam=model.username icon="list-alt" label="admin.user.action_logs"}}
{{/if}}
{{#if model.active}}
{{#if model.can_impersonate}}
{{d-button class="btn-danger" action="impersonate" icon="crosshairs" label="admin.impersonate.title" title="admin.impersonate.help"}}
{{/if}}
{{#if currentUser.admin}}
{{d-button action="logOut" icon="power-off" label="admin.user.log_out"}}
{{/if}}
@ -542,6 +539,12 @@
<section>
<hr>
<div class="pull-right">
{{#if model.active}}
{{#if model.can_impersonate}}
{{d-button class="btn-danger" action="impersonate" icon="crosshairs" label="admin.impersonate.title" title="admin.impersonate.help"}}
{{/if}}
{{/if}}
{{#unless model.anonymizeForbidden}}
{{d-button label="admin.user.anonymize"
icon="exclamation-triangle"