mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-10-01 14:41:14 +00:00
* [ACS-8751] Adapt search results to handle query encoding and state propagation * ADW Saved Search * ADW Saved Search * Changes after CR, bug fixed * Changes after CR, bug fixed * Changes after CR, bug fixed * Changes after CR, bug fixed * Changes after CR, bug fixed * Changes after code review * Changes after code review * Changes after code review * Changes after code review * Changes after code review * Changes after code review * Changes after code review * Changes after code review * Changes after code review * Changes after code review * ACS-8751 fix e2e * ACS-8751 fix e2e * ACS-8751 fix e2e * ACS-8751 fix e2e saved-search * ACS-8751 fix e2e recent file * ACS-8751 fix e2e recent file * [ACS-8751] Change encoding from ascii to utf8 to handle special language characters --------- Co-authored-by: MichalKinas <michal.kinas@hyland.com> Co-authored-by: akash.rathod@hyland.com <akash.rathod@hyland.com>
54 lines
1.9 KiB
HTML
54 lines
1.9 KiB
HTML
<h2 mat-dialog-title>{{"APP.BROWSE.SEARCH.SAVE_SEARCH.MODAL_HEADER" | translate}}</h2>
|
|
|
|
<mat-dialog-content>
|
|
<form [formGroup]="form" (submit)="submit()">
|
|
<mat-form-field class="aca-save-search-dialog__form-field">
|
|
<mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate }}</mat-label>
|
|
<input
|
|
id="aca-save-search-dialog-name-input"
|
|
[attr.aria-label]="'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_LABEL' | translate"
|
|
matInput
|
|
required
|
|
[formControlName]="'name'"
|
|
adf-auto-focus
|
|
/>
|
|
|
|
<mat-error *ngIf="form.controls['name'].touched">
|
|
<span *ngIf="form.controls['name'].errors?.required">
|
|
{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.NAME_REQUIRED_ERROR' | translate }}
|
|
</span>
|
|
<span *ngIf="!form.controls['name'].errors?.required && form.controls['name'].errors?.message">
|
|
{{ form.controls['name'].errors?.message | translate }}
|
|
</span>
|
|
</mat-error>
|
|
</mat-form-field>
|
|
|
|
<mat-form-field class="aca-save-search-dialog__form-field">
|
|
<mat-label>{{ 'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate }}</mat-label>
|
|
<textarea
|
|
id="aca-save-search-dialog-description-input"
|
|
matInput
|
|
[attr.aria-label]="'APP.BROWSE.SEARCH.SAVE_SEARCH.DESCRIPTION_LABEL' | translate"
|
|
rows="4"
|
|
[formControlName]="'description'"></textarea>
|
|
</mat-form-field>
|
|
</form>
|
|
</mat-dialog-content>
|
|
|
|
<mat-dialog-actions align="end">
|
|
<button
|
|
mat-button
|
|
id="aca-save-search-dialog-cancel-button"
|
|
mat-dialog-close>
|
|
{{ 'CANCEL' | titlecase | translate }}
|
|
</button>
|
|
|
|
<button id="aca-save-search-dialog-save-button"
|
|
mat-flat-button
|
|
color="primary"
|
|
(click)="submit()"
|
|
[disabled]="!form.valid || disableSubmitButton">
|
|
{{ 'SAVE' | titlecase | translate}}
|
|
</button>
|
|
</mat-dialog-actions>
|