Delete organisation functionality

This commit is contained in:
2022-02-04 11:42:43 +00:00
parent f850e4cace
commit 2cf2777494
9 changed files with 251 additions and 4 deletions

View File

@@ -45,12 +45,17 @@
<script id="organisation-table-column-actions" type="text/x-handlebars-template">
<td>
<div class="btn-organisation">
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">
{% endverbatim %}{{translate("ACTIONS")}}{% verbatim %}
<span class="caret"></span>
</button>
<ul class="dropdown-menu dropdown-menu-right" role="menu">
<li>
<a href="#" data-slug="{{row.slug}}" class="js-organisation-delete">
<i class="fas fa-trash-alt"></i> {% endverbatim %}{{translate("ORGANISATION.DELETE")}}{% verbatim %}
</a>
</li>
</ul>
</div>
</td>