Files
alfresco-ng2-components/lib/process-services/src/lib/content-widget/attach-file-widget-dialog.component.html
dhrn e06f871d73 [AAE-2202] Not able to search for files (#5569)
* [AAE-2202] Not able to search for files

* * fixd test

* * fixed panel test

* * fixed files search options

* * added docs
2020-03-31 11:36:35 +01:00

39 lines
1.4 KiB
HTML

<header
mat-dialog-title
data-automation-id="content-node-selector-title">{{data?.title}}
</header>
<mat-dialog-content class="adf-login-dialog-content">
<adf-login-dialog-panel id="attach-file-login-panel" #adfLoginPanel *ngIf="!isLoggedIn()">
</adf-login-dialog-panel>
<adf-content-node-selector-panel *ngIf="isLoggedIn()"
id="attach-file-content-node"
[isSelectionValid]="data?.isSelectionValid"
[showFilesInResult]="data?.showFilesInResult"
(select)="onSelect($event)">
</adf-content-node-selector-panel>
</mat-dialog-content>
<mat-dialog-actions align="end">
<button
mat-button
(click)="close()"
data-automation-id="attach-file-dialog-actions-cancel">{{ 'ATTACH-FILE.ACTIONS.CANCEL' | translate }}
</button>
<button *ngIf="!isLoggedIn()"
mat-button
(click)="performLogin()"
data-automation-id="attach-file-dialog-actions-login">{{ 'ATTACH-FILE.ACTIONS.LOGIN' | translate }}
</button>
<button *ngIf="isLoggedIn()"
mat-button
[disabled]="!chosenNode"
class="adf-choose-action"
(click)="onClick()"
data-automation-id="attach-file-dialog-actions-choose">{{ buttonActionName | translate }}
</button>
</mat-dialog-actions>