Merge pull request #2742 from riking/patch-1

UX: Change Impersonate to btn-danger
This commit is contained in:
Sam 2014-09-03 22:18:19 +10:00
commit 9c16dee843
2 changed files with 4 additions and 7 deletions

View file

@ -6,9 +6,9 @@
{{i18n admin.user.show_public_profile}} {{i18n admin.user.show_public_profile}}
{{/link-to}} {{/link-to}}
{{#if can_impersonate}} {{#if can_impersonate}}
<button class='btn' {{action impersonate target="content"}}> <button class='btn btn-danger' {{action impersonate target="content"}} title="{{i18n admin.impersonate.help}}">
<i class='fa fa-crosshairs'></i> <i class='fa fa-crosshairs'></i>
{{i18n admin.user.impersonate}} {{i18n admin.impersonate.title}}
</button> </button>
{{/if}} {{/if}}
{{#if currentUser.admin}} {{#if currentUser.admin}}

View file

@ -1804,11 +1804,8 @@ en:
title: "Error Logs" title: "Error Logs"
impersonate: impersonate:
title: "Impersonate User" title: "Impersonate"
username_or_email: "Username or Email of User" help: "Use this tool to impersonate a user account for debugging purposes. You will have to log out once finished."
help: "Use this tool to impersonate a user account for debugging purposes."
not_found: "That user can't be found."
invalid: "Sorry, you may not impersonate that user."
users: users:
title: 'Users' title: 'Users'