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
ba739848
Commit
ba739848
authored
Jul 21, 2020
by
Muhammad Usman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
references, work history updates
parent
47f4f00e
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
11 deletions
+18
-11
work-style.component.ts
...-career-web/assessment/work-style/work-style.component.ts
+1
-3
references.component.html
...story/career-history/references/references.component.html
+5
-3
references.component.ts
...history/career-history/references/references.component.ts
+3
-0
work-history.component.html
...y/career-history/work-history/work-history.component.html
+8
-4
work-history.component.ts
...ory/career-history/work-history/work-history.component.ts
+1
-1
No files found.
frontend/angular/src/app/my-career-web/assessment/work-style/work-style.component.ts
View file @
ba739848
...
@@ -91,9 +91,7 @@ export class WorkStyleComponent extends BaseComponent implements OnInit, OnDestr
...
@@ -91,9 +91,7 @@ export class WorkStyleComponent extends BaseComponent implements OnInit, OnDestr
}
}
exit
():
void
{
exit
():
void
{
if
(
this
.
wasUpdated
)
{
this
.
toasterService
.
success
(
'Work style updated!'
);
this
.
toasterService
.
success
(
'Profile updated!'
);
}
this
.
router
.
navigate
([
'/my-career-web/dashboard/home'
]);
this
.
router
.
navigate
([
'/my-career-web/dashboard/home'
]);
}
}
...
...
frontend/angular/src/app/my-career-web/career-history/career-history/references/references.component.html
View file @
ba739848
...
@@ -9,12 +9,13 @@
...
@@ -9,12 +9,13 @@
</div>
</div>
</div>
</div>
<form
#
form=
"ngForm"
*
ngIf=
"!careerProfile?.NoReference"
style=
"margin-top: 15px;"
>
<form
#
form=
"ngForm"
style=
"margin-top: 15px;"
>
<ng-container
*
ngIf=
"!careerProfile?.NoReference"
>
<div
class=
"row reference-wrapper"
*
ngFor=
"let referee of careerProfile.Referees; let i = index;"
>
<div
class=
"row reference-wrapper"
*
ngFor=
"let referee of careerProfile.Referees; let i = index;"
>
<div
class=
"remove-record
"
>
<div
class=
"remove-record"
(
click
)="
removeReferee
(
referee
)
"
>
<i
class=
"fa fa-remove"
(
click
)="
removeReferee
(
referee
)
"
></i>
<i
class=
"fa fa-remove
"
></i>
</div>
</div>
<div
class=
"col-md-9"
>
<div
class=
"col-md-9"
>
...
@@ -73,6 +74,7 @@
...
@@ -73,6 +74,7 @@
</div>
</div>
</ng-container>
<div
class=
"row"
>
<div
class=
"row"
>
...
...
frontend/angular/src/app/my-career-web/career-history/career-history/references/references.component.ts
View file @
ba739848
...
@@ -10,6 +10,7 @@ import { RefereeModel } from '../../../models/referee.model';
...
@@ -10,6 +10,7 @@ import { RefereeModel } from '../../../models/referee.model';
import
{
environment
}
from
'../../../../../environments/environment'
;
import
{
environment
}
from
'../../../../../environments/environment'
;
import
{
Router
}
from
'@angular/router'
;
import
{
Router
}
from
'@angular/router'
;
import
{
HelperService
}
from
'../../../services/helper.service'
;
import
{
HelperService
}
from
'../../../services/helper.service'
;
import
{
ToasterService
}
from
'../../../services/toaster.service'
;
@
Component
({
@
Component
({
selector
:
'app-references'
,
selector
:
'app-references'
,
...
@@ -31,6 +32,7 @@ export class ReferencesComponent extends BaseComponent implements OnInit {
...
@@ -31,6 +32,7 @@ export class ReferencesComponent extends BaseComponent implements OnInit {
private
confirmationService
:
ConfirmationService
,
private
confirmationService
:
ConfirmationService
,
private
utilsService
:
UtilsService
,
private
utilsService
:
UtilsService
,
private
helperService
:
HelperService
,
private
helperService
:
HelperService
,
private
toasterService
:
ToasterService
,
private
router
:
Router
private
router
:
Router
)
{
)
{
super
();
super
();
...
@@ -89,6 +91,7 @@ export class ReferencesComponent extends BaseComponent implements OnInit {
...
@@ -89,6 +91,7 @@ export class ReferencesComponent extends BaseComponent implements OnInit {
this
.
personalDetailsService
.
saveProfile
(
this
.
createdObjs
,
this
.
updatedObjs
,
this
.
deletedObjs
)
this
.
personalDetailsService
.
saveProfile
(
this
.
createdObjs
,
this
.
updatedObjs
,
this
.
deletedObjs
)
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
subscribe
(
res
=>
{
.
subscribe
(
res
=>
{
this
.
toasterService
.
success
(
'References updated'
);
this
.
isSaving
=
false
;
this
.
isSaving
=
false
;
if
(
customRoute
)
{
if
(
customRoute
)
{
this
.
router
.
navigate
([
customRoute
])
this
.
router
.
navigate
([
customRoute
])
...
...
frontend/angular/src/app/my-career-web/career-history/career-history/work-history/work-history.component.html
View file @
ba739848
<div
class=
"position-relative"
>
<div
class=
"position-relative"
>
<app-overlay
[
isActive
]="
isLoading
"
></app-overlay>
<app-overlay
[
isActive
]="
isLoading
||
isSaving
"
></app-overlay>
<h4
class=
"tab-heading"
>
Tell us about your most recent job
</h4>
<h4
class=
"tab-heading"
>
Tell us about your most recent job
</h4>
...
@@ -10,12 +10,14 @@
...
@@ -10,12 +10,14 @@
</div>
</div>
</div>
</div>
<form
#
form=
"ngForm"
*
ngIf=
"!careerProfile.NoWorkExperience"
style=
"margin-top: 15px;"
>
<form
#
form=
"ngForm"
style=
"margin-top: 15px;"
>
<ng-container
*
ngIf=
"!careerProfile.NoWorkExperience"
>
<div
class=
"row experience-wrapper"
*
ngFor=
"let experience of careerProfile.WorkExperiences; let i = index;"
>
<div
class=
"row experience-wrapper"
*
ngFor=
"let experience of careerProfile.WorkExperiences; let i = index;"
>
<div
class=
"remove-record
"
>
<div
class=
"remove-record"
(
click
)="
removeExperience
(
experience
)
"
>
<i
class=
"fa fa-remove"
(
click
)="
removeExperience
(
experience
)
"
></i>
<i
class=
"fa fa-remove
"
></i>
</div>
</div>
<div
class=
"col-md-9"
>
<div
class=
"col-md-9"
>
...
@@ -87,6 +89,8 @@
...
@@ -87,6 +89,8 @@
</div>
</div>
</ng-container>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<div
class=
"col-md-12"
>
<button
pButton
class=
"btn btn-info-outline add-more"
label=
"Add work experience +"
(
click
)="
addWorkExperience
()"
></button>
<button
pButton
class=
"btn btn-info-outline add-more"
label=
"Add work experience +"
(
click
)="
addWorkExperience
()"
></button>
...
...
frontend/angular/src/app/my-career-web/career-history/career-history/work-history/work-history.component.ts
View file @
ba739848
...
@@ -103,8 +103,8 @@ export class WorkHistoryComponent extends BaseComponent implements OnInit {
...
@@ -103,8 +103,8 @@ export class WorkHistoryComponent extends BaseComponent implements OnInit {
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
pipe
(
takeUntil
(
this
.
componentInView
))
.
subscribe
(
res
=>
{
.
subscribe
(
res
=>
{
this
.
isSaving
=
false
;
this
.
isSaving
=
false
;
if
(
customRoute
)
{
this
.
toastService
.
success
(
'Work history updated'
);
this
.
toastService
.
success
(
'Work history updated'
);
if
(
customRoute
)
{
this
.
router
.
navigate
([
customRoute
])
this
.
router
.
navigate
([
customRoute
])
}
else
{
}
else
{
this
.
workSaved
.
emit
();
this
.
workSaved
.
emit
();
...
...
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