mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-17 14:21:14 +00:00
* context menu share settings action * update cspell with 'qshare' * share/edit share in viewer * force change detection on children * cleanup module declarations * detection only for preview page * assert properties * cast to boolean
12 lines
488 B
HTML
12 lines
488 B
HTML
<ng-container *ngIf="selection$ | async as selection">
|
|
<button mat-menu-item data-automation-id="share-action-button" (click)="editSharedNode(selection)">
|
|
<mat-icon>share</mat-icon>
|
|
<ng-container *ngIf="isShared(selection); else not_shared">
|
|
<span>{{ 'APP.ACTIONS.CONTEXT_EDIT_SHARE' | translate }}</span>
|
|
</ng-container>
|
|
</button>
|
|
</ng-container>
|
|
|
|
<ng-template #not_shared>
|
|
<span>{{ 'APP.ACTIONS.SHARE' | translate }}</span>
|
|
</ng-template> |