Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
PERFORMA_REPLICA
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Muhammad Usman
PERFORMA_REPLICA
Commits
eac3f770
Commit
eac3f770
authored
Dec 12, 2019
by
GD-A-150752
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
applicant-title from service
parent
e1729070
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
message-engine.component.html
...p/components/message-engine/message-engine.component.html
+3
-3
message-engine.component.ts
...app/components/message-engine/message-engine.component.ts
+5
-2
No files found.
frontend/angular/src/app/components/message-engine/message-engine.component.html
View file @
eac3f770
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<div
class=
"ui-g-12 ui-md-12"
>
<div
class=
"ui-g-12 ui-md-12"
>
<div
*
ngIf=
"embedded"
class=
"main-tab-template pl-1 h-45"
>
<div
*
ngIf=
"embedded"
class=
"main-tab-template pl-1 h-45"
>
<div
class=
"chief-officer mb-0"
>
<div
class=
"chief-officer mb-0"
>
{{
jobApplication?.Candidate?.User?.Name
}}
{{
heading
}}
</div>
</div>
<a
class=
"arrow-btn-blue ml-0 ng-star-inserted minimize"
(
click
)="
minimize
.
emit
()"
>
<a
class=
"arrow-btn-blue ml-0 ng-star-inserted minimize"
(
click
)="
minimize
.
emit
()"
>
<span
class=
"ui-icon-close"
title=
"Close"
></span>
<span
class=
"ui-icon-close"
title=
"Close"
></span>
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<a
[
routerLink
]="[
previousUrl
]"
class=
"arrow-btn-blue ml-0"
>
<a
[
routerLink
]="[
previousUrl
]"
class=
"arrow-btn-blue ml-0"
>
<img
src=
"assets/images/arrow-left-prev_blue.svg"
alt=
"Back"
>
<img
src=
"assets/images/arrow-left-prev_blue.svg"
alt=
"Back"
>
</a>
</a>
{{
jobApplication?.Job?.JobTitle}} - {{jobApplication?.Job?.HiringTeam?.HiringTeamName
}}
{{
heading
}}
</div>
</div>
</div>
</div>
<div
class=
"ui-g ui-fluid {{embedded ? '' : 'form' }}"
>
<div
class=
"ui-g ui-fluid {{embedded ? '' : 'form' }}"
>
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
<a
[
routerLink
]="[
previousUrl
]"
class=
"arrow-btn-blue ml-0"
*
ngIf=
"!embedded"
>
<a
[
routerLink
]="[
previousUrl
]"
class=
"arrow-btn-blue ml-0"
*
ngIf=
"!embedded"
>
<img
src=
"assets/images/arrow-left-prev_blue.svg"
alt=
"Back"
>
<img
src=
"assets/images/arrow-left-prev_blue.svg"
alt=
"Back"
>
</a>
</a>
Please select an application and a user...
{{heading}}
</div>
</div>
<a
class=
"arrow-btn-blue ml-0 ng-star-inserted minimize"
*
ngIf=
"embedded"
(
click
)="
minimize
.
emit
()"
>
<a
class=
"arrow-btn-blue ml-0 ng-star-inserted minimize"
*
ngIf=
"embedded"
(
click
)="
minimize
.
emit
()"
>
<span
class=
"ui-icon-close"
title=
"Close"
></span>
<span
class=
"ui-icon-close"
title=
"Close"
></span>
...
...
frontend/angular/src/app/components/message-engine/message-engine.component.ts
View file @
eac3f770
...
@@ -47,6 +47,7 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
...
@@ -47,6 +47,7 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
loggedInId
=
null
;
loggedInId
=
null
;
showLoader
=
false
;
showLoader
=
false
;
previousUrl
:
string
;
previousUrl
:
string
;
heading
=
'Please select an application and a user...'
;
constructor
(
constructor
(
private
router
:
Router
,
private
router
:
Router
,
...
@@ -119,12 +120,14 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
...
@@ -119,12 +120,14 @@ export class MessageEngineComponent extends BaseComponent implements OnInit {
this
.
createdObjs
=
{};
this
.
createdObjs
=
{};
const
assocs
=
const
assocs
=
[
ASSOCS
.
JOB
,
[
ASSOCS
.
JOB
,
ASSOCS
.
HIRING_TEAM
].
join
(
'.'
),
ASSOCS
.
MESSAGES
,
[
ASSOCS
.
MESSAGES
,
ASSOCS
.
SENT_BY
].
join
(
'.'
),
[
ASSOCS
.
MESSAGES
,
[
ASSOCS
.
MESSAGES
,
ASSOCS
.
SENT_BY
].
join
(
'.'
),
[
ASSOCS
.
MESSAGES
,
ASSOCS
.
ATTACHMENTS
].
join
(
'.'
),
[
ASSOCS
.
MESSAGES
,
ASSOCS
.
ATTACHMENTS
].
join
(
'.'
),
[
ASSOCS
.
CANDIDATE
,
ASSOCS
.
USER
].
join
(
'.'
)];
[
ASSOCS
.
CANDIDATE
,
ASSOCS
.
USER
].
join
(
'.'
)];
this
.
subscriptions
.
push
(
this
.
messageEngineService
.
getJobApplicationByID
(
this
.
jobApplicationID
,
assocs
)
this
.
subscriptions
.
push
(
this
.
messageEngineService
.
getJobApplicationByID
(
this
.
jobApplicationID
,
assocs
)
.
subscribe
(
.
subscribe
(
data
=>
{
data
=>
{
this
.
heading
=
this
.
embedded
?
this
.
jobApplication
.
Candidate
.
User
.
Name
:
this
.
applicantPortalLayoutService
.
userData
.
PageTitle
;
this
.
jobApplication
=
data
;
this
.
jobApplication
=
data
;
this
.
jobApplication
.
Messages
=
this
.
jobApplication
.
Messages
||
[];
this
.
jobApplication
.
Messages
=
this
.
jobApplication
.
Messages
||
[];
this
.
utilsService
.
sort
(
this
.
jobApplication
.
Messages
,
[
'ObjectCreated'
],
[
1
]);
this
.
utilsService
.
sort
(
this
.
jobApplication
.
Messages
,
[
'ObjectCreated'
],
[
1
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment