February 2019
Intermediate to advanced
442 pages
11h 46m
English
Our module is ready, and is also plugged into AppModule, to put it into action. However, one small thing is still missing, which is to locate the navigation to launch the GDP module. The best option is to put the navigation link into the navigation bar at the top of the page. JHipster provides a navigation bar as a separate module out of the box, and it shows various links. A few of them are publicly visible, and others are only for logged-in and Admin users.
To add the link, we need to modify the navigation template file, navbar.component.html, under the /src/main/webapp/app/layouts/navbar folder as follows:
<div class="navbar-collapse collapse" id="navbarResponsive" [ngbCollapse]="isNavbarCollapsed" [ngSwitch]="isAuthenticated()"> ...