summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/shared-modules
diff options
context:
space:
mode:
authorswapnalipode <sp00501638@techmahindra.com>2020-04-18 19:45:12 +0530
committerSwapnali Pode <sp00501638@techmahindra.com>2020-04-21 16:16:20 +0000
commitb85c484da92c3b6721bb241376074fd9d7a712e2 (patch)
treed85aff1e31f31d73853ba528e82017530cd82cec /cds-ui/designer-client/src/app/modules/shared-modules
parent3c10444c1d9d84b4d7f38b223fd304450cb36eb6 (diff)
Adding Resource dictionary
Adding resource-dictionary Change-Id: Ib23b282e7293843ce94263e82b3f7cdb0fe36c5a Issue-ID: CCSDK-2253 Signed-off-by: swapnalipode <sp00501638@techmahindra.com>
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/shared-modules')
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html7
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts7
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts9
3 files changed, 12 insertions, 11 deletions
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html
index 4b1c17e35..bfccac7a0 100644
--- a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html
@@ -5,17 +5,18 @@
<div class="overflow-container">
<ul class="menu-dropdown">
<li class="active">
- <a (click)="redirect()" routerLink="/packages">Packages</a>
+ <a routerLink="/packages">Packages</a>
<span class="icon">
<!-- <i class="fa fa-dashboard"></i> -->
<i class="icon-nav-packages"></i>
</span>
</li>
- <li class="menu-hasdropdown">
- <a >Data Dictionary</a>
+ <li>
+ <a routerLink="/resource-dictionary">Resource Dictionary</a>
<span class="icon">
<i class="icon-nav-dictionary"></i>
</span>
+ </li>
<!-- <label title="toggle menu" for="settings">
<span class="downarrow">
<i class="fa fa-caret-down"></i>
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts
index db87f8fdf..38e368526 100644
--- a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts
@@ -13,8 +13,7 @@ export class HeaderComponent implements OnInit {
ngOnInit() {
}
- redirect() {
- this.router.navigate(['/packages']);
- }
-
+ // redirect() {
+ // this.router.navigate(['/packages']);
+ // }
}
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts b/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts
index 6b6d39689..7229891f5 100644
--- a/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts
@@ -1,13 +1,14 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HeaderComponent } from './header/header.component';
-
-
+import { RouterModule } from '@angular/router';
@NgModule({
declarations: [HeaderComponent],
imports: [
- CommonModule
- ], exports : [HeaderComponent]
+ CommonModule,
+ RouterModule,
+ ],
+ exports : [HeaderComponent]
})
export class SharedModulesModule { }