Skip to content

Commit

Permalink
Added filter remove to top toolbar
Browse files Browse the repository at this point in the history
  • Loading branch information
juniwalk authored Apr 18, 2024
1 parent 24e5fb7 commit 1ca7ece
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/UI/DataGrids/templates/datagrid.latte
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<a href="#" class="btn bg-info btn-sm" data-toggle="collapse" data-target="#datagrid-{$controlName}-row-filters">
<i class="fas fa-filter fa-fw"></i> {_ublaboo_datagrid.show_filter}
</a>
<a n:href="resetFilter!" n:if="$filter_active" class="btn bg-info btn-sm ajax text-nowrap reset-filter" title="{_ublaboo_datagrid.reset_filter}"><i class="fas fa-times"></i></a>
</div>

<div class="btn-group mr-2" n:if="$control->canHideColumns()">
Expand Down Expand Up @@ -242,7 +243,9 @@

<div class="col-items col-per-page form-inline flex-nowrap pr-3 py-2" n:ifcontent>

<a n:href="resetFilter!" n:if="$filter_active" class="btn btn-danger btn-sm ajax text-nowrap reset-filter">{_ublaboo_datagrid.reset_filter}</a>
<a n:href="resetFilter!" n:if="$filter_active" class="btn btn-danger btn-sm ajax text-nowrap reset-filter">
<i class="fas fa-filter-circle-xmark fa-fw"></i> {_ublaboo_datagrid.reset_filter}
</a>

<span class="mx-1" n:if="$control->isPaginated() && $filter_active"></span>

Expand Down

0 comments on commit 1ca7ece

Please sign in to comment.