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
812d5215
Commit
812d5215
authored
Dec 02, 2019
by
GD-A-150752
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug-Fix S52625662 #Ui - Alphabetically order the drop down
parent
d3b643f5
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
29 deletions
+24
-29
edit-workflow-template.component.html
...t-workflow-template/edit-workflow-template.component.html
+16
-9
edit-workflow-template.component.ts
...dit-workflow-template/edit-workflow-template.component.ts
+2
-1
message-engine-applicant-view.component.scss
...plicant-view/message-engine-applicant-view.component.scss
+0
-19
custom.scss
frontend/angular/src/assets/css/custom.scss
+6
-0
No files found.
frontend/angular/src/app/components/admin-portal/edit-workflow-template/edit-workflow-template.component.html
View file @
812d5215
...
@@ -380,7 +380,7 @@
...
@@ -380,7 +380,7 @@
<label>
{{message.DelayString}}
</label>
<label>
{{message.DelayString}}
</label>
</div>
</div>
</div>
</div>
<div
class=
"col-md-
1
"
>
<div
class=
"col-md-
{{stage.StageType.IsPreStage ? '1' : '2'}}
"
>
<label
for=
"Variance{{message.ObjectID}}"
>
+/-
</label>
<label
for=
"Variance{{message.ObjectID}}"
>
+/-
</label>
<input
[(
ngModel
)]="
message
.
Variance
"
<input
[(
ngModel
)]="
message
.
Variance
"
[
disabled
]="
showLoader
"
[
disabled
]="
showLoader
"
...
@@ -389,14 +389,14 @@
...
@@ -389,14 +389,14 @@
(
focusin
)="
toggleInput
($
event
,
'
Variance
'+
message
.
ObjectID
,
true
)"
(
focusin
)="
toggleInput
($
event
,
'
Variance
'+
message
.
ObjectID
,
true
)"
class=
"form-control"
id=
"Variance{{message.ObjectID}}"
class=
"form-control"
id=
"Variance{{message.ObjectID}}"
*
ngIf=
"!showLabel('Variance'+message.ObjectID) || !message.Variance"
*
ngIf=
"!showLabel('Variance'+message.ObjectID) || !message.Variance"
name=
"Variance{{message.ObjectID}}"
type=
"
text
"
>
name=
"Variance{{message.ObjectID}}"
type=
"
number
"
>
<div
<div
(
click
)="
toggleInput
($
event
,
'
Variance
'+
message
.
ObjectID
,
true
)"
(
click
)="
toggleInput
($
event
,
'
Variance
'+
message
.
ObjectID
,
true
)"
*
ngIf=
"showLabel('Variance'+message.ObjectID) && message.Variance"
>
*
ngIf=
"showLabel('Variance'+message.ObjectID) && message.Variance"
>
<label>
{{message.VarianceString}}
</label>
<label>
{{message.VarianceString}}
</label>
</div>
</div>
</div>
</div>
<div
class=
"col-md-
2
business-hours"
>
<div
class=
"col-md-
{{stage.StageType.IsPreStage ? '2' : '3'}}
business-hours"
>
<p-checkbox
[(
ngModel
)]="
message
.
BusinessHoursOnly
"
<p-checkbox
[(
ngModel
)]="
message
.
BusinessHoursOnly
"
binary=
"true"
binary=
"true"
name=
"BusinessHoursOnly{{message.ObjectID}}"
>
name=
"BusinessHoursOnly{{message.ObjectID}}"
>
...
@@ -404,7 +404,7 @@
...
@@ -404,7 +404,7 @@
<label
title=
"Business Hours only"
class=
"mb-0"
>
Business Hours
<label
title=
"Business Hours only"
class=
"mb-0"
>
Business Hours
only
</label>
only
</label>
</div>
</div>
<div
class=
"col-md-
3
"
>
<div
class=
"col-md-
{{stage.StageType.IsPreStage ? '3' : '4'}}
"
>
<label>
Send
</label>
<label>
Send
</label>
<p-dropdown
(
onChange
)="
showMessageTemplateDialog
($
event
,
message
)"
<p-dropdown
(
onChange
)="
showMessageTemplateDialog
($
event
,
message
)"
[(
ngModel
)]="
message
.
MessageTemplate
"
[(
ngModel
)]="
message
.
MessageTemplate
"
...
@@ -419,11 +419,15 @@
...
@@ -419,11 +419,15 @@
class=
"dropdown-text"
>
{{message.label}}
</span>
class=
"dropdown-text"
>
{{message.label}}
</span>
</ng-template>
</ng-template>
<ng-template
let-selectedMsg
pTemplate=
"item"
>
<ng-template
let-selectedMsg
pTemplate=
"item"
>
<div
class=
"ui-helper-clearfix"
<div
*
ngIf=
"selectedMsg.value.id !== '-2'"
class=
"ui-helper-clearfix"
style=
"position: relative;height: 25px;"
>
style=
"position: relative;height: 25px;"
>
<i
class=
"{{getMessageClass(selectedMsg.value)}}"
></i>
<i
class=
"{{getMessageClass(selectedMsg.value)}}"
></i>
<div
class=
"dropdown-text"
>
{{selectedMsg.label}}
</div>
<div
class=
"dropdown-text"
>
{{selectedMsg.label}}
</div>
</div>
</div>
<div
*
ngIf=
"selectedMsg.value.id === '-2'"
class=
"ui-helper-clearfix"
style=
"position: relative;height: 5px;"
>
<div
class=
"separator"
></div>
</div>
</ng-template>
</ng-template>
</p-dropdown>
</p-dropdown>
</div>
</div>
...
@@ -476,7 +480,7 @@
...
@@ -476,7 +480,7 @@
(
focusin
)="
toggleInput
($
event
,
'
Variance
'+
message
.
ObjectID
,
true
)"
(
focusin
)="
toggleInput
($
event
,
'
Variance
'+
message
.
ObjectID
,
true
)"
class=
"form-control"
id=
"Variance{{message.ObjectID}}"
class=
"form-control"
id=
"Variance{{message.ObjectID}}"
*
ngIf=
"!showLabel('Variance'+message.ObjectID) || !message.Variance"
*
ngIf=
"!showLabel('Variance'+message.ObjectID) || !message.Variance"
name=
"Variance{{message.ObjectID}}"
type=
"
text
"
>
name=
"Variance{{message.ObjectID}}"
type=
"
number
"
>
<div
<div
(
click
)="
toggleInput
($
event
,
'
Variance
'+
message
.
ObjectID
,
true
)"
(
click
)="
toggleInput
($
event
,
'
Variance
'+
message
.
ObjectID
,
true
)"
*
ngIf=
"showLabel('Variance'+message.ObjectID) && message.Variance"
>
*
ngIf=
"showLabel('Variance'+message.ObjectID) && message.Variance"
>
...
@@ -506,11 +510,14 @@
...
@@ -506,11 +510,14 @@
class=
"dropdown-text"
>
{{message.label}}
</span>
class=
"dropdown-text"
>
{{message.label}}
</span>
</ng-template>
</ng-template>
<ng-template
let-selectedMsg
pTemplate=
"item"
>
<ng-template
let-selectedMsg
pTemplate=
"item"
>
<div
class=
"ui-helper-clearfix"
<div
*
ngIf=
"selectedMsg.value.id !== '-2'"
class=
"ui-helper-clearfix"
style=
"position: relative;height: 25px;"
>
style=
"position: relative;height: 25px;"
>
<i
class=
"{{getMessageClass(selectedMsg.value)}}"
></i>
<i
class=
"{{getMessageClass(selectedMsg.value)}}"
></i>
<div
<div
class=
"dropdown-text"
>
{{selectedMsg.label}}
</div>
class=
"dropdown-text"
>
{{selectedMsg.label}}
</div>
</div>
<div
*
ngIf=
"selectedMsg.value.id === '-2'"
class=
"ui-helper-clearfix"
style=
"position: relative;height: 5px;"
>
<div
class=
"separator"
></div>
</div>
</div>
</ng-template>
</ng-template>
</p-dropdown>
</p-dropdown>
...
...
frontend/angular/src/app/components/admin-portal/edit-workflow-template/edit-workflow-template.component.ts
View file @
812d5215
...
@@ -124,6 +124,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
...
@@ -124,6 +124,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
if
(
!
this
.
isGlobalHT
&&
!
this
.
adminPortalLayoutService
.
getHiringTeamID
().
HasDiversity
)
{
if
(
!
this
.
isGlobalHT
&&
!
this
.
adminPortalLayoutService
.
getHiringTeamID
().
HasDiversity
)
{
this
.
stepTypeOptions
=
this
.
stepTypeOptions
.
filter
(
type
=>
type
.
Value
!==
'DIVERSITY'
);
this
.
stepTypeOptions
=
this
.
stepTypeOptions
.
filter
(
type
=>
type
.
Value
!==
'DIVERSITY'
);
}
}
this
.
responseActions
=
response
[
2
];
this
.
responseActions
=
response
[
2
];
this
.
applicantSources
=
response
[
3
];
this
.
applicantSources
=
response
[
3
];
...
@@ -410,7 +411,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
...
@@ -410,7 +411,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
*/
*/
showMessageTemplateDialog
(
$event
,
message
:
WorkflowMessageModel
):
void
{
showMessageTemplateDialog
(
$event
,
message
:
WorkflowMessageModel
):
void
{
const
template
=
$event
.
value
;
const
template
=
$event
.
value
;
if
(
template
.
id
===
'-1'
)
{
if
(
template
.
id
===
'-1'
||
template
.
id
===
'-2'
)
{
delete
message
.
MessageTemplate
;
delete
message
.
MessageTemplate
;
}
else
if
(
template
.
id
&&
template
.
id
===
'0'
)
{
}
else
if
(
template
.
id
&&
template
.
id
===
'0'
)
{
// When new template is selected, store it to global variable
// When new template is selected, store it to global variable
...
...
frontend/angular/src/app/components/message-engine-applicant-view/message-engine-applicant-view.component.scss
View file @
812d5215
...
@@ -93,25 +93,6 @@ a {
...
@@ -93,25 +93,6 @@ a {
fill
:
#fff
;
fill
:
#fff
;
}
}
}
}
&
.clicked
{
background-color
:
#cff5b3
;
border
:
2px
solid
#cff5b3
;
color
:
#6AAA3B
;
padding-right
:
6px
;
animation
:
bounce-in
.3s
;
cursor
:
default
;
svg
{
animation
:
flyaway
1
.3s
linear
;
top
:
-80px
;
right
:
-1000px
;
path
{
fill
:
#6AAA3B
;
}
}
}
}
}
@keyframes
flyaway
{
@keyframes
flyaway
{
...
...
frontend/angular/src/assets/css/custom.scss
View file @
812d5215
...
@@ -378,6 +378,12 @@ body .ui-dropdown-panel .ui-dropdown-filter-container {
...
@@ -378,6 +378,12 @@ body .ui-dropdown-panel .ui-dropdown-filter-container {
}
}
}
}
.panel-header-input
{
background
:
white
!
important
;
font-size
:
20px
!
important
;
padding-left
:
40px
!
important
;
}
.ui-dropdown
{
.ui-dropdown
{
background
:
transparent
no-repeat
;
background
:
transparent
no-repeat
;
background-image
:
linear-gradient
(
to
bottom
,
rgba
(
3
,
160
,
231
,
0
.5
)
,
rgba
(
3
,
160
,
231
,
0
.5
))
,
linear-gradient
(
to
bottom
,
#bdbdbd
,
#bdbdbd
)
!
important
;
background-image
:
linear-gradient
(
to
bottom
,
rgba
(
3
,
160
,
231
,
0
.5
)
,
rgba
(
3
,
160
,
231
,
0
.5
))
,
linear-gradient
(
to
bottom
,
#bdbdbd
,
#bdbdbd
)
!
important
;
...
...
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