mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-13 07:24:38 -04:00
Add explanations for deactivate user and block user buttons in admin
This commit is contained in:
parent
f62c421c91
commit
f198c814a8
2 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,7 @@
|
|||
{{#if active}}
|
||||
{{#if can_deactivate}}
|
||||
<button class='btn' {{action deactivate target="content"}}>{{i18n admin.user.deactivate_account}}</button>
|
||||
{{i18n admin.user.deactivate_explanation}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#if can_send_activation_email}}
|
||||
|
@ -163,6 +164,7 @@
|
|||
</button>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{i18n admin.user.banned_explanation}}
|
||||
</div>
|
||||
</div>
|
||||
<div class='display-row'>
|
||||
|
|
|
@ -1172,6 +1172,8 @@ en:
|
|||
deactivate_failed: "There was a problem deactivating the user."
|
||||
unblock_failed: 'There was a problem unblocking the user.'
|
||||
block_failed: 'There was a problem blocking the user.'
|
||||
deactivate_explanation: "A deactivated user must validate their email again before logging in."
|
||||
banned_explanation: "A banned user can't log in."
|
||||
block_explanation: "A blocked user can't post or start topics."
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue