-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TSK-1773: make routing-rest-enabled endpoint use the configured env
- Loading branch information
1 parent
2c89353
commit 610eabd
Showing
7 changed files
with
77 additions
and
58 deletions.
There are no files selected for viewing
28 changes: 17 additions & 11 deletions
28
.../administration/components/administration-overview/administration-overview.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 38 additions & 29 deletions
67
web/src/app/shared/components/sidenav-list/sidenav-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,40 @@ | ||
<mat-nav-list class="navlist"> | ||
<a mat-list-item class="navlist__item navlist__admin" [routerLink]=[administrationsUrl] | ||
[routerLinkActive]="['active']" *ngIf="administrationAccess" (click)="toggleSidenav()">Administration</a> | ||
<div class="navlist__admin-item"> | ||
<a mat-list-item class="navlist__item navlist__admin-workbaskets" [routerLink]=[workbasketsUrl] | ||
[routerLinkActive]="['active__sub']" *ngIf="administrationAccess" (click)="toggleSidenav()">Workbaskets</a> | ||
<a mat-list-item class="navlist__item navlist__admin-classifications" [routerLink]=[classificationUrl] | ||
[routerLinkActive]="['active__sub']" *ngIf="administrationAccess" | ||
(click)="toggleSidenav()">Classifications</a> | ||
<a mat-list-item class="navlist__item navlist__admin-access-items" [routerLink]=[accessUrl] | ||
[routerLinkActive]="['active__sub']" (click)="toggleSidenav()" *ngIf="administrationAccess">Access Items</a> | ||
<a mat-list-item class="navlist__item navlist__admin-task-routing" [routerLink]=[routingUrl] | ||
[routerLinkActive]="['active__sub']" (click)="toggleSidenav()" *ngIf="(routingAccess$ | async)">Task Routing</a> | ||
</div> | ||
<a mat-list-item class="navlist__item navlist__monitor" [routerLink]=[monitorUrl] [routerLinkActive]="['active']" | ||
*ngIf="monitorAccess" (click)="toggleSidenav()">Monitor</a> | ||
<a mat-list-item class="navlist__item navlist__workplace" [routerLink]=[workplaceUrl] | ||
[routerLinkActive]="['active']" *ngIf="workplaceAccess" (click)="toggleSidenav()">Workplace</a> | ||
<div class="navlist__admin-item"> | ||
<a mat-list-item class="navlist__item navlist__workplace--workbaskets" | ||
[routerLinkActive]="['active__sub']" *ngIf="workplaceAccess" [routerLink]=[workplaceUrl] [queryParams]="{component: 'workbaskets'}" | ||
(click)="toggleSidenav()">Workbaskets</a> | ||
<a mat-list-item class="navlist__item navlist__workplace--task-search" | ||
[routerLinkActive]="['active__sub']" *ngIf="workplaceAccess" [routerLink]=[workplaceUrl] [queryParams]="{component: 'task-search'}" | ||
(click)="toggleSidenav()">Task Search</a> | ||
</div> | ||
<a mat-list-item class="navlist__item navlist__history" [routerLink]=[historyUrl] [routerLinkActive]="['active']" | ||
*ngIf="historyAccess" (click)="toggleSidenav()">History</a> | ||
<a mat-list-item class="navlist__item navlist__setting" [routerLink]=[settingsURL] [routerLinkActive]="['active']" | ||
*ngIf="settingsAccess" (click)="toggleSidenav()">Settings</a> | ||
<a (click)="toggleSidenav()" *ngIf="administrationAccess" [routerLinkActive]="['active']" | ||
[routerLink]=[administrationsUrl] class="navlist__item navlist__admin" mat-list-item>Administration</a> | ||
<div class="navlist__admin-item"> | ||
<a (click)="toggleSidenav()" *ngIf="administrationAccess" [routerLinkActive]="['active__sub']" | ||
[routerLink]=[workbasketsUrl] class="navlist__item navlist__admin-workbaskets" | ||
mat-list-item>Workbaskets</a> | ||
<a (click)="toggleSidenav()" *ngIf="administrationAccess" [routerLinkActive]="['active__sub']" | ||
[routerLink]=[classificationUrl] class="navlist__item navlist__admin-classifications" | ||
mat-list-item>Classifications</a> | ||
<a (click)="toggleSidenav()" *ngIf="administrationAccess" [routerLinkActive]="['active__sub']" | ||
[routerLink]=[accessUrl] class="navlist__item navlist__admin-access-items" mat-list-item>Access | ||
Items</a> | ||
<a (click)="toggleSidenav()" *ngIf="(routingAccess)" [routerLinkActive]="['active__sub']" | ||
[routerLink]=[routingUrl] class="navlist__item navlist__admin-task-routing" mat-list-item>Task | ||
Routing</a> | ||
</div> | ||
<a (click)="toggleSidenav()" *ngIf="monitorAccess" [routerLinkActive]="['active']" | ||
[routerLink]=[monitorUrl] | ||
class="navlist__item navlist__monitor" mat-list-item>Monitor</a> | ||
<a (click)="toggleSidenav()" *ngIf="workplaceAccess" [routerLinkActive]="['active']" | ||
[routerLink]=[workplaceUrl] class="navlist__item navlist__workplace" | ||
mat-list-item>Workplace</a> | ||
<div class="navlist__admin-item"> | ||
<a (click)="toggleSidenav()" *ngIf="workplaceAccess" | ||
[queryParams]="{component: 'workbaskets'}" [routerLinkActive]="['active__sub']" | ||
[routerLink]=[workplaceUrl] class="navlist__item navlist__workplace--workbaskets" | ||
mat-list-item>Workbaskets</a> | ||
<a (click)="toggleSidenav()" *ngIf="workplaceAccess" | ||
[queryParams]="{component: 'task-search'}" [routerLinkActive]="['active__sub']" | ||
[routerLink]=[workplaceUrl] class="navlist__item navlist__workplace--task-search" | ||
mat-list-item>Task Search</a> | ||
</div> | ||
<a (click)="toggleSidenav()" *ngIf="historyAccess" [routerLinkActive]="['active']" | ||
[routerLink]=[historyUrl] | ||
class="navlist__item navlist__history" mat-list-item>History</a> | ||
<a (click)="toggleSidenav()" *ngIf="settingsAccess" [routerLinkActive]="['active']" | ||
[routerLink]=[settingsURL] | ||
class="navlist__item navlist__setting" mat-list-item>Settings</a> | ||
</mat-nav-list> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters