From 529bb52e73486ca1aa0c32ff1ff2af553d576ca7 Mon Sep 17 00:00:00 2001 From: "venbatechnologies@gmail.com" Date: Tue, 30 Oct 2018 18:43:48 +0530 Subject: [PATCH] Tooltip Added PD LISTING screens : ps --- .../manage-pd/list-pd/all-pd/all-pd.component.html | 7 ++++--- .../manage-pd/list-pd/all-pd/all-pd.component.ts | 5 +++++ .../list-pd/completed-pd/completed-pd.component.html | 7 ++++--- .../list-pd/completed-pd/completed-pd.component.ts | 5 +++++ .../list-pd/inprogress-pd/inprogress-pd.component.html | 6 +++--- .../list-pd/inprogress-pd/inprogress-pd.component.ts | 4 ++++ .../qc-completed-pd/qc-completed-pd.component.html | 8 ++++---- .../list-pd/qc-completed-pd/qc-completed-pd.component.ts | 4 ++++ .../list-pd/scheduled-pd/scheduled-pd.component.html | 6 +++--- .../list-pd/scheduled-pd/scheduled-pd.component.ts | 5 +++++ ng6-seed/src/app/shared/menu-items/menu-items.ts | 2 +- 11 files changed, 42 insertions(+), 17 deletions(-) diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.html index 8d1e89490..bee3ad1c6 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.html @@ -16,20 +16,21 @@ - {{details.pd_date_of_initiation}}
+ {{details.pd_date_of_initiation}}
{{details.city_name}}-{{details.pincode}}
{{details.pd_status}}
- {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }} + {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }}
- + diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.ts index 5734107ca..119655690 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/all-pd/all-pd.component.ts @@ -82,4 +82,9 @@ export class AllPdComponent implements OnInit, OnChanges { } + titleCaseWord(word:string) { + if (!word) return word; + return word[0].toUpperCase() + word.substr(1).toLowerCase(); + } + } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.html index 36caac99b..4fe4b3d2f 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.html @@ -16,20 +16,21 @@ - {{details.pd_date_of_initiation}}
+ {{details.pd_date_of_initiation}}
{{details.city_name}}-{{details.pincode}}
{{details.pd_status}}
- {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }} + {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }}
- + diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.ts index baca0e5f1..c798070d3 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/completed-pd/completed-pd.component.ts @@ -80,6 +80,11 @@ export class CompletedPdComponent implements OnInit, OnChanges { } + titleCaseWord(word:string) { + if (!word) return word; + return word[0].toUpperCase() + word.substr(1).toLowerCase(); + } + } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.html index 051fc9970..2d8717a78 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.html @@ -16,20 +16,20 @@ - {{details.pd_date_of_initiation}}
+ {{details.pd_date_of_initiation}}
{{details.city_name}}-{{details.pincode}}
{{details.pd_status}}
- {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }} + {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }}
- + diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.ts index fe7d6a0ea..af3a5df20 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/inprogress-pd/inprogress-pd.component.ts @@ -77,5 +77,9 @@ export class InprogressPdComponent implements OnInit, OnChanges { this.loadPdView.next(pdid); } + titleCaseWord(word:string) { + if (!word) return word; + return word[0].toUpperCase() + word.substr(1).toLowerCase(); + } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.html index 4c559e935..8b1d38166 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.html @@ -16,20 +16,20 @@ - {{details.pd_date_of_initiation}}
+ {{details.pd_date_of_initiation}}
{{details.city_name}}-{{details.pincode}}
- {{details.pd_status}}
- {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }} + {{details.pd_status}}
+ {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }}
- + diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.ts index f3cacd962..cec61a7ba 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/qc-completed-pd/qc-completed-pd.component.ts @@ -79,6 +79,10 @@ export class QcCompletedPdComponent implements OnInit, OnChanges { this.loadPdView.next(pdid); } + titleCaseWord(word:string) { + if (!word) return word; + return word[0].toUpperCase() + word.substr(1).toLowerCase(); + } } diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.html b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.html index 0c06383c7..495982bdd 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.html +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.html @@ -16,20 +16,20 @@ - {{details.pd_date_of_initiation}}
+ {{details.pd_date_of_initiation}}
{{details.city_name}}-{{details.pincode}}
{{details.pd_status}}
- {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }} + {{ (details.updatedon)? (details.updatedon | slice:0:10):(details.updatedon) }}
- + diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.ts index 52cfc20bd..3e6ba6097 100644 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/scheduled-pd/scheduled-pd.component.ts @@ -77,6 +77,11 @@ export class ScheduledPdComponent implements OnInit, OnChanges { this.loadPdView.next(pdid); } + titleCaseWord(word:string) { + if (!word) return word; + return word[0].toUpperCase() + word.substr(1).toLowerCase(); + } + } diff --git a/ng6-seed/src/app/shared/menu-items/menu-items.ts b/ng6-seed/src/app/shared/menu-items/menu-items.ts index 1fecab764..68d1ebb84 100644 --- a/ng6-seed/src/app/shared/menu-items/menu-items.ts +++ b/ng6-seed/src/app/shared/menu-items/menu-items.ts @@ -85,7 +85,7 @@ const MENUITEMS : Menu[] = [ state:'quality_check_discussion', name:'Quality Check', type:'link', - icon:'forum', + icon:'done_all', } ];