Merge branch '38-admin-send-activation-password-resets-to-email' into dev
This commit is contained in:
commit
8c9455a2d5
8 changed files with 79 additions and 3 deletions
|
|
@ -56,6 +56,13 @@
|
|||
{% if (user.getId()) %}
|
||||
{% set actions = [ 'Activate': 'Active', 'Suspend': 'Suspended', 'Delete': 'Deleted' ] %}
|
||||
<div class="float-end">
|
||||
|
||||
{% if user.isSuspended() %}
|
||||
<a class="button button-info" href="{{ url(['for': 'backend-user-activation-email', 'id': user.getId() ]) }}">
|
||||
Send activation email
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% for label, status in actions %}
|
||||
|
||||
{% if (user.status != status) %}
|
||||
|
|
|
|||
Reference in a new issue