mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
Merge pull request #2742 from riking/patch-1
UX: Change Impersonate to btn-danger
This commit is contained in:
commit
9c16dee843
2 changed files with 4 additions and 7 deletions
|
@ -6,9 +6,9 @@
|
|||
{{i18n admin.user.show_public_profile}}
|
||||
{{/link-to}}
|
||||
{{#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>
|
||||
{{i18n admin.user.impersonate}}
|
||||
{{i18n admin.impersonate.title}}
|
||||
</button>
|
||||
{{/if}}
|
||||
{{#if currentUser.admin}}
|
||||
|
|
|
@ -1804,11 +1804,8 @@ en:
|
|||
title: "Error Logs"
|
||||
|
||||
impersonate:
|
||||
title: "Impersonate User"
|
||||
username_or_email: "Username or Email of User"
|
||||
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."
|
||||
title: "Impersonate"
|
||||
help: "Use this tool to impersonate a user account for debugging purposes. You will have to log out once finished."
|
||||
|
||||
users:
|
||||
title: 'Users'
|
||||
|
|
Loading…
Reference in a new issue