Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<eform-new-subheader>
<button
mat-raised-button
class="btn-primary btn-primary--icon-left"
id="savePairingGridBtn"
color="accent"
[disabled]="pairingsForUpdate.length === 0"
matTooltip="{{ 'Update pairing' | translate }}"
(click)="showUpdatePairingsModal()"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<ng-template #toolbarTpl>
<div class="d-grid justify-content-start need-wrapper" style="grid-template-columns: 1fr 2fr;">
<div class="d-grid pr-3 justify-content-start need-wrapper" style="grid-template-columns: 1fr 2fr;">
<mat-form-field>
<mat-label>{{ 'Tags' | translate }}</mat-label>
<mtx-select
Expand Down
Original file line number Diff line number Diff line change
@@ -1,31 +1,34 @@
<eform-new-subheader>
<button
mat-icon-button
id="importPlanningsBtn"
matTooltip="{{ 'Import plannings' | translate }}"
*ngIf="isAuth$ | async"
(click)="openPlanningsImportModal()"
>
<mat-icon>file_upload</mat-icon>
</button>
<button
mat-icon-button
id="planningManageTagsBtn"
(click)="openTagsModal()"
matTooltip="{{ 'Manage tags' | translate }}"
>
<mat-icon>discount</mat-icon>
</button>
<button
mat-raised-button
*ngIf="authStateService.checkClaim(itemsPlanningPnClaims.createPlannings)"
id="planningCreateBtn"
color="accent"
matTooltip="{{ 'Create Planning' | translate }}"
[routerLink]="['./create']"
>
{{ 'New planning' | translate }}
</button>
<div class="d-flex flex-row align-items-center gap-12">
<button
class="btn-secondary btn-secondary--icon-rounded-border"
id="importPlanningsBtn"
matTooltip="{{ 'Import plannings' | translate }}"
*ngIf="isAuth$ | async"
(click)="openPlanningsImportModal()"
>
<mat-icon>file_upload</mat-icon>
</button>
<button
class="btn-secondary btn-secondary--icon-rounded-border"
id="planningManageTagsBtn"
(click)="openTagsModal()"
matTooltip="{{ 'Manage tags' | translate }}"
>
<mat-icon>discount</mat-icon>
</button>

<div class="line-vert"></div>
<button
class="btn-primary btn-primary--icon-left"
*ngIf="authStateService.checkClaim(itemsPlanningPnClaims.createPlannings)"
id="planningCreateBtn"
matTooltip="{{ 'Create Planning' | translate }}"
[routerLink]="['./create']"
>
{{ 'New planning' | translate }}
</button>
</div>
</eform-new-subheader>

<app-plannings-header
Expand All @@ -39,12 +42,11 @@
(tagSaved)="saveTag($event)"
></app-plannings-header>
<button
mat-raised-button
class="btn-warning mb-4 ml-3"
[disabled]="
!selectedPlanningsCheckboxes || selectedPlanningsCheckboxes.length === 0
"
id="deleteMultiplePluginsBtn"
color="warn"
matTooltip="{{ 'Delete selected' | translate }}"
(click)="showDeleteMultiplePlanningsModal()"
>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="d-flex flex-row need-wrapper">
<div class="d-flex flex-row need-wrapper px-3">
<mat-form-field>
<mat-label>{{'Tags' | translate}}</mat-label>
<mtx-select
Expand Down
Loading