mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2161] download directive (#2934)
* node download directive * integrate with demo shell * docs on the directive * node actions integration * test fixes * remove old and disable invalid tests * remove fdescribe * fix unit tests
This commit is contained in:
@@ -48,7 +48,7 @@
|
||||
<button mat-icon-button
|
||||
[disabled]="!hasSelection(documentList.selection)"
|
||||
title="Download"
|
||||
(click)="downloadNodes(documentList.selection)">
|
||||
[adfNodeDownload]="documentList.selection">
|
||||
<mat-icon>get_app</mat-icon>
|
||||
</button>
|
||||
<button mat-icon-button
|
||||
@@ -196,6 +196,11 @@
|
||||
|
||||
<content-actions>
|
||||
<!-- common actions -->
|
||||
<content-action
|
||||
icon="get_app"
|
||||
title="DOCUMENT_LIST.ACTIONS.DOWNLOAD"
|
||||
handler="download">
|
||||
</content-action>
|
||||
<content-action
|
||||
icon="content_copy"
|
||||
title="DOCUMENT_LIST.ACTIONS.FOLDER.COPY"
|
||||
@@ -230,12 +235,6 @@
|
||||
title="Manage versions..."
|
||||
(execute)="onManageVersions($event)">
|
||||
</content-action>
|
||||
<content-action
|
||||
icon="file_download"
|
||||
target="document"
|
||||
title="DOCUMENT_LIST.ACTIONS.DOCUMENT.DOWNLOAD"
|
||||
handler="download">
|
||||
</content-action>
|
||||
<content-action
|
||||
*ngIf="authenticationService.isBpmLoggedIn()"
|
||||
icon="play_arrow"
|
||||
|
Reference in New Issue
Block a user