mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* [ADF-3499] start creation of login dialog component with extra auth service feature * [ADF-3499] adding new dialog for external content file * [ADF-3499] fixed condition for pop up and added prefix ticket * [ADF-3499] fixed smartfolder bug for content node selector * [ADF-3499] disabling preview after uploading for external resource files * [ADF-3499] fixed unit test for document list service * [ADF-3499] added unit test to new components * [ADF-3499] added translation and some fix * [ADF-3499] fixed labels * [ADF-3499] fixed problem with node and node entry for smart folders * [ADF-3499] fixed compilation problem
38 lines
1.3 KiB
HTML
38 lines
1.3 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"
|
|
(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="choose-action"
|
|
(click)="onClick($event)"
|
|
data-automation-id="attach-file-dialog-actions-choose">{{ buttonActionName | translate }}
|
|
</button>
|
|
|
|
</mat-dialog-actions>
|