Merge pull request #4604 from tsiegleauq/fix-select-export-motions
Hotfix exporting of selected motions
This commit is contained in:
commit
7db327020f
@ -93,10 +93,6 @@
|
|||||||
<span translate>Show entire motion text</span>
|
<span translate>Show entire motion text</span>
|
||||||
</button>
|
</button>
|
||||||
<div *ngIf="perms.isAllowed('manage')">
|
<div *ngIf="perms.isAllowed('manage')">
|
||||||
<button mat-menu-item [disabled]="!selectedRows.length" (click)="openExportDialog()">
|
|
||||||
<mat-icon>archive</mat-icon>
|
|
||||||
<span translate>Export selected motions</span>
|
|
||||||
</button>
|
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
<!-- Delete -->
|
<!-- Delete -->
|
||||||
<button mat-menu-item class="red-warning-text" (click)="deleteMotionButton()">
|
<button mat-menu-item class="red-warning-text" (click)="deleteMotionButton()">
|
||||||
|
@ -221,11 +221,19 @@
|
|||||||
</button>
|
</button>
|
||||||
<div *ngIf="perms.isAllowed('change_metadata')">
|
<div *ngIf="perms.isAllowed('change_metadata')">
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
<button mat-menu-item [disabled]="!selectedRows.length" (click)="multiselectWrapper(multiselectService.bulkSetFavorite(selectedRows))">
|
<button
|
||||||
|
mat-menu-item
|
||||||
|
[disabled]="!selectedRows.length"
|
||||||
|
(click)="multiselectWrapper(multiselectService.bulkSetFavorite(selectedRows))"
|
||||||
|
>
|
||||||
<mat-icon>star</mat-icon>
|
<mat-icon>star</mat-icon>
|
||||||
<span translate>Set/unset Favorite</span>
|
<span translate>Set/unset Favorite</span>
|
||||||
</button>
|
</button>
|
||||||
<button mat-menu-item [disabled]="!selectedRows.length" (click)="multiselectWrapper(multiselectService.setStateOfMultiple(selectedRows))">
|
<button
|
||||||
|
mat-menu-item
|
||||||
|
[disabled]="!selectedRows.length"
|
||||||
|
(click)="multiselectWrapper(multiselectService.setStateOfMultiple(selectedRows))"
|
||||||
|
>
|
||||||
<mat-icon>label</mat-icon>
|
<mat-icon>label</mat-icon>
|
||||||
<span translate>Set status</span>
|
<span translate>Set status</span>
|
||||||
</button>
|
</button>
|
||||||
@ -260,9 +268,11 @@
|
|||||||
<span translate>Set motion block</span>
|
<span translate>Set motion block</span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button mat-menu-item
|
<button
|
||||||
|
mat-menu-item
|
||||||
[disabled]="!selectedRows.length"
|
[disabled]="!selectedRows.length"
|
||||||
(click)="multiselectWrapper(multiselectService.changeSubmitters(selectedRows))">
|
(click)="multiselectWrapper(multiselectService.changeSubmitters(selectedRows))"
|
||||||
|
>
|
||||||
<mat-icon>person_add</mat-icon>
|
<mat-icon>person_add</mat-icon>
|
||||||
<!-- TODO: icon -->
|
<!-- TODO: icon -->
|
||||||
<span translate>Add/remove submitters</span>
|
<span translate>Add/remove submitters</span>
|
||||||
@ -277,20 +287,28 @@
|
|||||||
<!-- TODO: icon -->
|
<!-- TODO: icon -->
|
||||||
<span translate>Add/remove tags</span>
|
<span translate>Add/remove tags</span>
|
||||||
</button>
|
</button>
|
||||||
<button mat-menu-item
|
<button
|
||||||
|
mat-menu-item
|
||||||
[disabled]="!selectedRows.length"
|
[disabled]="!selectedRows.length"
|
||||||
(click)="multiselectWrapper(multiselectService.moveToItem(selectedRows))">
|
(click)="multiselectWrapper(multiselectService.moveToItem(selectedRows))"
|
||||||
|
>
|
||||||
<mat-icon>sort</mat-icon>
|
<mat-icon>sort</mat-icon>
|
||||||
<span translate>Move to agenda item</span>
|
<span translate>Move to agenda item</span>
|
||||||
</button>
|
</button>
|
||||||
<button mat-menu-item
|
<button
|
||||||
|
mat-menu-item
|
||||||
[disabled]="!selectedRows.length"
|
[disabled]="!selectedRows.length"
|
||||||
(click)="multiselectWrapper(multiselectService.bulkMoveItems(selectedRows))">
|
(click)="multiselectWrapper(multiselectService.bulkMoveItems(selectedRows))"
|
||||||
|
>
|
||||||
<mat-icon>format_indent_increase</mat-icon>
|
<mat-icon>format_indent_increase</mat-icon>
|
||||||
<span translate>Move in call list</span>
|
<span translate>Move in call list</span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div *ngIf="perms.isAllowed('manage')">
|
<div *ngIf="perms.isAllowed('manage')">
|
||||||
|
<button mat-menu-item [disabled]="!selectedRows.length" (click)="openExportDialog()">
|
||||||
|
<mat-icon>archive</mat-icon>
|
||||||
|
<span translate>Export selected motions</span>
|
||||||
|
</button>
|
||||||
<mat-divider></mat-divider>
|
<mat-divider></mat-divider>
|
||||||
<button
|
<button
|
||||||
mat-menu-item
|
mat-menu-item
|
||||||
|
Loading…
Reference in New Issue
Block a user