Added functionality to permenently delete or restore deleted organisations

This commit is contained in:
2022-02-10 15:52:57 +00:00
parent c3cf97ea50
commit 57dfed304f
10 changed files with 603 additions and 17 deletions

View File

@@ -31,8 +31,10 @@
<button type="button" class="btn btn-success js-organisation-create">
<i class="fas fa-plus-square"></i> {{translate("ORGANISATION.CREATE")}}
</button>
{% endif %}
{% if checkAccess('register_organisation') %}
<button type="button" class="btn btn-danger js-organisation-viewDeleted">
<i class="fas fa-minus-square"></i> {{translate("VIEW_DELETED")}}
</button>
{% elseif checkAccess('register_organisation') %}
<button type="button" class="btn btn-success js-organisation-register">
<i class="fas fa-plus-square"></i> {{translate("ORGANISATION.REGISTER")}}
</button>