[ACA-2182] ADF 3.3.0 alpha (#1126)

* 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
This commit is contained in:
Denys Vuika
2019-06-14 12:59:09 +01:00
committed by GitHub
parent ca5795fac0
commit 36043d1473
20 changed files with 78 additions and 928 deletions

View File

@@ -0,0 +1,16 @@
<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>