mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
* upgrade to latest adf 3.0.0 alpha * use ADF share dialog * [ACA-2069] make sure toggles have the right color * raise error popups for shared links * update test * use date only for sharing * [ACA-2069] small improvement - make sure toggles have the right color * remove old share dialog * move toggle-shared component to common module
17 lines
471 B
HTML
17 lines
471 B
HTML
<ng-container *ngIf="selection$ | async as selection">
|
|
<button
|
|
mat-menu-item
|
|
data-automation-id="share-action-button"
|
|
(click)="editSharedNode(selection)"
|
|
>
|
|
<mat-icon>link</mat-icon>
|
|
<ng-container *ngIf="isShared(selection); else not_shared">
|
|
<span>{{ 'APP.ACTIONS.SHARE_EDIT' | translate }}</span>
|
|
</ng-container>
|
|
</button>
|
|
</ng-container>
|
|
|
|
<ng-template #not_shared>
|
|
<span>{{ 'APP.ACTIONS.SHARE' | translate }}</span>
|
|
</ng-template>
|