|
|
|
@ -30,8 +30,10 @@
|
|
|
|
|
[disabled]="dataSource.data.length === 0"
|
|
|
|
|
(click)="onImportDividends()"
|
|
|
|
|
>
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="color-wand-outline"></ion-icon>
|
|
|
|
|
<ng-container i18n>Import Dividends</ng-container>...
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
*ngIf="hasPermissionToExportActivities"
|
|
|
|
@ -40,8 +42,10 @@
|
|
|
|
|
[disabled]="dataSource.data.length === 0"
|
|
|
|
|
(click)="onExport()"
|
|
|
|
|
>
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="cloud-download-outline"></ion-icon>
|
|
|
|
|
<span i18n>Export Activities</span>
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
*ngIf="hasPermissionToExportActivities"
|
|
|
|
@ -50,16 +54,20 @@
|
|
|
|
|
[disabled]="!hasDrafts"
|
|
|
|
|
(click)="onExportDrafts()"
|
|
|
|
|
>
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="calendar-clear-outline"></ion-icon>
|
|
|
|
|
<span i18n>Export Drafts as ICS</span>
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="align-items-center d-flex"
|
|
|
|
|
mat-menu-item
|
|
|
|
|
(click)="onDeleteAllActivities()"
|
|
|
|
|
>
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="trash-outline"></ion-icon>
|
|
|
|
|
<span i18n>Delete all Activities</span>
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
</mat-menu>
|
|
|
|
|
</div>
|
|
|
|
@ -440,8 +448,10 @@
|
|
|
|
|
mat-menu-item
|
|
|
|
|
(click)="onImport()"
|
|
|
|
|
>
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="cloud-upload-outline"></ion-icon>
|
|
|
|
|
<ng-container i18n>Import Activities</ng-container>...
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
*ngIf="hasPermissionToCreateActivity"
|
|
|
|
@ -449,8 +459,10 @@
|
|
|
|
|
[disabled]="dataSource.data.length === 0"
|
|
|
|
|
(click)="onImportDividends()"
|
|
|
|
|
>
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="color-wand-outline"></ion-icon>
|
|
|
|
|
<ng-container i18n>Import Dividends</ng-container>...
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
*ngIf="hasPermissionToExportActivities"
|
|
|
|
@ -459,8 +471,10 @@
|
|
|
|
|
[disabled]="dataSource.data.length === 0"
|
|
|
|
|
(click)="onExport()"
|
|
|
|
|
>
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="cloud-download-outline"></ion-icon>
|
|
|
|
|
<span i18n>Export Activities</span>
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
*ngIf="hasPermissionToExportActivities"
|
|
|
|
@ -469,8 +483,10 @@
|
|
|
|
|
[disabled]="!hasDrafts"
|
|
|
|
|
(click)="onExportDrafts()"
|
|
|
|
|
>
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="calendar-clear-outline"></ion-icon>
|
|
|
|
|
<span i18n>Export Drafts as ICS</span>
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
</mat-menu>
|
|
|
|
|
</th>
|
|
|
|
@ -486,24 +502,32 @@
|
|
|
|
|
</button>
|
|
|
|
|
<mat-menu #activityMenu="matMenu" xPosition="before">
|
|
|
|
|
<button mat-menu-item (click)="onUpdateActivity(element)">
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="create-outline"></ion-icon>
|
|
|
|
|
<span i18n>Edit</span>
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button mat-menu-item (click)="onCloneActivity(element)">
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="copy-outline"></ion-icon>
|
|
|
|
|
<span i18n>Clone</span>
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
mat-menu-item
|
|
|
|
|
[disabled]="!element.isDraft"
|
|
|
|
|
(click)="onExportDraft(element.id)"
|
|
|
|
|
>
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="calendar-clear-outline"></ion-icon>
|
|
|
|
|
<span i18n>Export Draft as ICS</span>
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button mat-menu-item (click)="onDeleteActivity(element.id)">
|
|
|
|
|
<span class="align-items-center d-flex">
|
|
|
|
|
<ion-icon class="mr-2" name="trash-outline"></ion-icon>
|
|
|
|
|
<span i18n>Delete</span>
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
</mat-menu>
|
|
|
|
|
</td>
|
|
|
|
|