Broke out the table column templates into individual template files
This commit is contained in:
24
templates/tables/columns/groups-actions.html.twig
Normal file
24
templates/tables/columns/groups-actions.html.twig
Normal file
@@ -0,0 +1,24 @@
|
||||
<script id="{{table.id}}-column-actions" type="text/x-handlebars-template">
|
||||
{% verbatim %}
|
||||
<td>
|
||||
<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-group-edit">
|
||||
<i class="fas fa-edit"></i> {% endverbatim %}{{translate("GROUP.EDIT")}}{% verbatim %}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#" data-slug="{{row.slug}}" class="js-group-delete">
|
||||
<i class="fas fa-trash-alt"></i> {% endverbatim %}{{translate("GROUP.DELETE")}}{% verbatim %}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
{% endverbatim %}
|
||||
</script>
|
||||
Reference in New Issue
Block a user