mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Formatting changes
This commit is contained in:
+22
-9
@@ -1,11 +1,18 @@
|
|||||||
<fieldset>
|
<fieldset>
|
||||||
<legend class="adf-search-check-list-title">{{ name | translate }}</legend>
|
<legend class="adf-search-check-list-title">{{ name | translate }}</legend>
|
||||||
<mat-checkbox *ngFor="let option of options" [checked]="option.checked"
|
<mat-checkbox
|
||||||
(keydown.enter)="option.checked = !option.checked" [attr.data-automation-id]="'checkbox-' + (option.name)"
|
*ngFor="let option of options"
|
||||||
[attr.aria-label]="option.name | translate" (change)="changeHandler($event, option)" class="adf-facet-filter">
|
[checked]="option.checked"
|
||||||
<div matTooltip="{{ option.name | translate }}" matTooltipPosition="right" class="facet-name">
|
(keydown.enter)="option.checked = !option.checked"
|
||||||
{{ option.name | translate }}
|
[attr.data-automation-id]="'checkbox-' + (option.name)"
|
||||||
</div>
|
[attr.aria-label]="option.name | translate"
|
||||||
|
(change)="changeHandler($event, option)"
|
||||||
|
class="adf-facet-filter">
|
||||||
|
<div matTooltip="{{ option.name | translate }}"
|
||||||
|
matTooltipPosition="right"
|
||||||
|
class="facet-name">
|
||||||
|
{{ option.name | translate }}
|
||||||
|
</div>
|
||||||
</mat-checkbox>
|
</mat-checkbox>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
|
|
||||||
@@ -16,14 +23,20 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="adf-facet-buttons" *ngIf="!options.fitsPage">
|
<div class="adf-facet-buttons" *ngIf="!options.fitsPage">
|
||||||
<button mat-icon-button title="{{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}" (click)="clear()">
|
<button mat-icon-button
|
||||||
|
title="{{ 'SEARCH.FILTER.ACTIONS.CLEAR-ALL' | translate }}"
|
||||||
|
(click)="clear()">
|
||||||
<mat-icon>clear</mat-icon>
|
<mat-icon>clear</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<button mat-icon-button *ngIf="options.canShowLessItems" title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-LESS' | translate }}"
|
<button mat-icon-button
|
||||||
|
*ngIf="options.canShowLessItems"
|
||||||
|
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-LESS' | translate }}"
|
||||||
(click)="options.showLessItems()">
|
(click)="options.showLessItems()">
|
||||||
<mat-icon>keyboard_arrow_up</mat-icon>
|
<mat-icon>keyboard_arrow_up</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
<button mat-icon-button *ngIf="options.canShowMoreItems" title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-MORE' | translate }}"
|
<button mat-icon-button
|
||||||
|
*ngIf="options.canShowMoreItems"
|
||||||
|
title="{{ 'SEARCH.FILTER.ACTIONS.SHOW-MORE' | translate }}"
|
||||||
(click)="options.showMoreItems()">
|
(click)="options.showMoreItems()">
|
||||||
<mat-icon>keyboard_arrow_down</mat-icon>
|
<mat-icon>keyboard_arrow_down</mat-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user