Files
alfresco-ng2-components/lib/content-services/search/components/search-check-list/search-check-list.component.html
davidcanonieto f4cb3ac6a9 [ADF-3734] Fix search filters not wrapping (#3955)
* [ADF-3734] Fix search filters not wrapping

* [ADF-3734] Improve search filter bucket selector
2018-11-09 12:34:59 +00:00

43 lines
1.4 KiB
HTML

<div class="checklist">
<mat-checkbox
*ngFor="let option of options"
[checked]="option.checked"
[attr.data-automation-id]="'checkbox-' + (option.name)"
(change)="changeHandler($event, option)"
class="facet-filter">
<div
matTooltip="{{ option.name | translate }}"
matTooltipPosition="right"
class="facet-name">
{{ option.name | translate }}
</div>
</mat-checkbox>
</div>
<div class="facet-buttons" *ngIf="options.fitsPage">
<button mat-button color="primary" (click)="reset()">
{{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}
</button>
</div>
<div class="facet-buttons" *ngIf="!options.fitsPage">
<button mat-icon-button
title="{{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}"
(click)="reset()">
<mat-icon>clear</mat-icon>
</button>
<button mat-icon-button
*ngIf="options.canShowLessItems"
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-LESS' | translate }}"
(click)="options.showLessItems()">
<mat-icon>keyboard_arrow_up</mat-icon>
</button>
<button mat-icon-button
*ngIf="options.canShowMoreItems"
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-MORE' | translate }}"
(click)="options.showMoreItems()">
<mat-icon>keyboard_arrow_down</mat-icon>
</button>
</div>