mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:49:14 +08:00
Merge pull request #2742 from riking/patch-1
UX: Change Impersonate to btn-danger
This commit is contained in:
commit
9c16dee843
|
@ -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 New Issue
Block a user