diff --git a/src/app/components/shared/_dialogs/topic-cloud-filter/topic-cloud-filter.component.html b/src/app/components/shared/_dialogs/topic-cloud-filter/topic-cloud-filter.component.html index 78e1575b92a27d9eb9b9dacdb9047597d7745552..4905f5fb3f1c26632093dd2b41e66769667d0f6d 100644 --- a/src/app/components/shared/_dialogs/topic-cloud-filter/topic-cloud-filter.component.html +++ b/src/app/components/shared/_dialogs/topic-cloud-filter/topic-cloud-filter.component.html @@ -7,6 +7,7 @@ <app-dialog-action-buttons buttonsLabelSection="content" confirmButtonLabel="continue" + buttonIcon="cloud" [cancelButtonClickAction]="cancelButtonActionCallback()" [confirmButtonClickAction]="confirmButtonActionCallback()" diff --git a/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.html b/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.html index b4e749345be6bde9747c2651319b37b5dae03c2b..a9dcf74d40fd396a93d6045dab81a6ab138ad939 100644 --- a/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.html +++ b/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.html @@ -20,7 +20,7 @@ class="mat-flat-button {{ confirmButtonType }}-confirm-button" attr.aria-labelledby="{{ ariaPrefix + 'confirm' | translate }}" (click)="performConfirmButtonClickAction()" - >{{ buttonsLabelSection + '.' + confirmButtonLabel | translate}}</button> + ><mat-icon *ngIf="buttonIcon" style="margin-right: 5px;">{{buttonIcon}}</mat-icon>{{ buttonsLabelSection + '.' + confirmButtonLabel | translate}}</button> <button *ngIf="cancelButtonClickAction !== undefined" type="button" diff --git a/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.ts b/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.ts index f75ff02d8b30af693455f7c17eec4a94ade124d8..4fa8c7d7d921f621413b051418a9510a16be5c15 100644 --- a/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.ts +++ b/src/app/components/shared/dialog/dialog-action-buttons/dialog-action-buttons.component.ts @@ -23,6 +23,11 @@ export class DialogActionButtonsComponent implements OnInit { */ @Input() buttonsLabelSection: string; + /** + * Icon for confirm. + */ + @Input() buttonIcon: string; + /** * The i18n label identifier of the confirm button.