[BP-841] Add link to navigation for cyclic reports Signed-off-by: Christopher Keim <keim@develop-group.de>
diff --git a/src/app/core/components/navigation/navigation.component.html b/src/app/core/components/navigation/navigation.component.html index b7e8fc1..9472f20 100644 --- a/src/app/core/components/navigation/navigation.component.html +++ b/src/app/core/components/navigation/navigation.component.html
@@ -1,12 +1,16 @@ <!-- /******************************************************************************** - * Copyright © 2018 Mettenmeier GmbH. + * Copyright © 2018 Mettenmeier GmbH and others. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v. 2.0 which is available at * http://www.eclipse.org/legal/epl-2.0. * * SPDX-License-Identifier: EPL-2.0 + * + * Contributors: + * Mettenmeier GmbH - initial implementation + * Basys GmbH - automatic report generation implementation ********************************************************************************/ --> <nav class="navbar navbar-expand-lg navbar-light bg-light"> @@ -27,6 +31,9 @@ </button> <div [ngbCollapse]="navbarCollapsed" class="collapse navbar-collapse" id="navbarsExample04"> <ul class="navbar-nav ml-auto"> + <li *ngIf="authService.userHasRoles(['BP_Admin'])" class="nav-item"> + <a class="nav-link" routerLink="/zyklische-reports" routerLinkActive="active" id="navCyclicReports" (click)="navbarCollapsed = true">Zyklische Reports</a> + </li> <li class="nav-item"> <a class="nav-link" routerLink="/reports" routerLinkActive="active" id="navReporting" (click)="navbarCollapsed = true">Abfrage und Reports</a> @@ -53,4 +60,4 @@ </ul> </div> </nav> -<div class="masthead"></div> \ No newline at end of file +<div class="masthead"></div>