Map changed and made available to customers

This commit is contained in:
piratefinn 2017-11-13 12:39:31 +00:00
parent 8f725b93af
commit 3009365682
3 changed files with 4 additions and 4 deletions

View file

@ -50,6 +50,7 @@ const routes: Routes = [
path: 'leaderboard', path: 'leaderboard',
component: LeaderboardComponent, component: LeaderboardComponent,
data: { title: 'Leaderboards' }, data: { title: 'Leaderboards' },
canActivate: [CustomerGuard],
}, },
{ {
path: 'transaction-log', path: 'transaction-log',
@ -59,8 +60,7 @@ const routes: Routes = [
{ {
path: 'map', path: 'map',
component: MapComponent, component: MapComponent,
data: { title: 'Supplier Map' }, data: { title: 'Purchase Map' },
canActivate: [OrgGuard],
}, },
{ {
path: 'payroll-log', path: 'payroll-log',

View file

@ -3,7 +3,7 @@
<div class="col-lg-12"> <div class="col-lg-12">
<div class="card"> <div class="card">
<div class="card-header"> <div class="card-header">
<strong>Supplier Map</strong> <strong>Purchase Map</strong>
<small>Required Data marked in <strong>bold</strong>.</small> <small>Required Data marked in <strong>bold</strong>.</small>
</div> </div>
<div [ngSwitch]="dataReceived"> <div [ngSwitch]="dataReceived">

View file

@ -42,7 +42,7 @@
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" routerLinkActive="active" [routerLink]="['/map']"> <a class="nav-link" routerLinkActive="active" [routerLink]="['/map']">
<i class="icon-map"></i> Supplier Map <i class="icon-map"></i> Purchase Map
</a> </a>
</li> </li>
<li *ngIf="accountType == 'customer'" class="nav-item"> <li *ngIf="accountType == 'customer'" class="nav-item">