mirror of
https://github.com/zulip/zulip.git
synced 2026-06-21 21:32:29 +08:00
Previously, if you tried to invite a user whose account had been deactivated, we didn't provide a clear path forward for reactivating the users, which was confusing. We fix this by plumbing through to the frontend the information that there is an existing user account with that email address in this organization, but that it's deactivated. For administrators, we provide a link for how to reactivate the user. Fixes #8144.
14 lines
507 B
Handlebars
14 lines
507 B
Handlebars
<p id="invitation_error_message">{{ error_message }}</p>
|
|
<ul>
|
|
{{#each error_list}}
|
|
<li>{{this}}</li>
|
|
{{/each}}
|
|
</ul>
|
|
{{#if is_invitee_deactivated}}
|
|
{{#if is_admin}}
|
|
<p id="invitation_admin_message">{{#tr this}}You can reactivate deactivated users from <a href="#organization/deactivated-users-admin">organization settings.</a>{{/tr}}</p>
|
|
{{else}}
|
|
<p id="invitation_non_admin_message">{{t "Organization administrators can reactivate deactivated users." }}</p>
|
|
{{/if}}
|
|
{{/if}}
|