Incorporate the permanent user deletion sprinkle

This commit is contained in:
2023-07-25 14:21:42 +01:00
parent 243987382a
commit 50b8e02839
18 changed files with 934 additions and 66 deletions

View File

@@ -19,14 +19,19 @@
}
%}
</div>
{% if checkAccess('create_user') %}
<div class="box-footer">
<button type="button" class="btn btn-success js-user-create">
<i class="fas fa-plus-square"></i> {{ translate("USER.CREATE")}}
{% if checkAccess('create_user') %}
<button type="button" class="btn btn-success js-user-create">
<i class="fas fa-plus-square"></i> {{ translate("USER.CREATE")}}
</button>
{% endif %}
{% if checkAccess('uri_deleted_users') %}
<button type="button" class="btn btn-danger js-user-viewDeleted">
<i class="fas fa-minus-square"></i> {{ translate("USER.VIEW_DELETED")}}
</button>
{% endif %}
</div>
{% endif %}
</div>
</div>
</div>
{% endblock %}
{% endblock %}