| Current Path : /home/rtorresani/www/vendor/magento/module-ui/view/base/web/templates/grid/filters/ |
| Current File : //home/rtorresani/www/vendor/magento/module-ui/view/base/web/templates/grid/filters/chips.html |
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div class="admin__data-grid-filters-current" css="_show: hasPreviews()">
<div class="admin__current-filters-title-wrap">
<span class="admin__current-filters-title" translate="'Active filters\\:'"></span>
</div>
<div class="admin__current-filters-list-wrap">
<ul class="admin__current-filters-list" data-role="filter-list">
<each args="elems">
<li outereach="previews">
<span text="label + '\\:'"></span>
<span if="typeof preview === 'string'" text="preview"></span>
<span if="typeof preview === 'object'">
<text args="preview[0] || '...'"></text> - <text args="preview[1] || '...'"></text>
</span>
<button class="action-remove" type="button"
data-action="grid-filter-remove-chip"
click="$parent.clear.bind($parent, elem)">
<span translate="'Remove'"></span>
</button>
</li>
</each>
</ul>
</div>
<div class="admin__current-filters-actions-wrap">
<button class="action-tertiary action-clear" type="button" click="clear" translate="'Clear all'"
attr="'data-action': hasPreviews() ? 'grid-filter-reset' : ''"></button>
</div>
</div>