RED-4649 - added help mode to table header label

This commit is contained in:
Valentin Mihai 2022-07-29 14:06:04 +03:00
parent ef1c9be504
commit ee7bba3d72
3 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,7 @@
[indeterminate]="listingService.notAllSelected$ | async"
></iqser-round-checkbox>
<span class="all-caps-label">
<span class="all-caps-label" [iqserHelpMode]="helpModeKey">
{{ tableHeaderLabel | translate: { length: totalSize || (listingService.displayedLength$ | async) } }}
</span>

View File

@ -21,6 +21,7 @@ export class TableHeaderComponent<T extends IListable<PrimaryKey>, PrimaryKey ex
@Input() listingMode: ListingMode = ListingModes.table;
@Input() totalSize?: number;
@Input() bulkActions?: TemplateRef<unknown>;
@Input() helpModeKey?: string;
readonly quickFilters$ = this.filterService.getFilterModels$('quickFilters');

View File

@ -5,7 +5,7 @@
[selectionEnabled]="selectionEnabled"
[tableColumnConfigs]="tableColumnConfigs"
[tableHeaderLabel]="tableHeaderLabel"
[iqserHelpMode]="headerHelpModeKey"
[helpModeKey]="headerHelpModeKey"
[totalSize]="totalSize"
>
<ng-container *ngTemplateOutlet="headerTemplate"></ng-container>