app/views/backend/user/form.volt: Add button for sending activation email.
# Conflicts: # app/views/backend/user/form.volt
This commit is contained in:
parent
14eb4a9137
commit
0f5f42ca92
1 changed files with 4 additions and 0 deletions
|
|
@ -56,6 +56,10 @@
|
||||||
{% if (user.getId()) %}
|
{% if (user.getId()) %}
|
||||||
{% set actions = [ 'Activate': 'Active', 'Suspend': 'Suspended', 'Delete': 'Deleted' ] %}
|
{% set actions = [ 'Activate': 'Active', 'Suspend': 'Suspended', 'Delete': 'Deleted' ] %}
|
||||||
<div class="float-end">
|
<div class="float-end">
|
||||||
|
<a class="button button-info" href="{{ url(['for': 'backend-user-activation-email', 'id': user.getId() ]) }}">
|
||||||
|
Send activation email
|
||||||
|
</a>
|
||||||
|
|
||||||
{% for label, status in actions %}
|
{% for label, status in actions %}
|
||||||
|
|
||||||
{% if (user.status != status) %}
|
{% if (user.status != status) %}
|
||||||
|
|
|
||||||
Reference in a new issue