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
2b1f009a
Commit
2b1f009a
authored
Nov 27, 2019
by
GD-A-150752
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug-Fix +S52544923
parent
72eb28a7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
12 deletions
+9
-12
edit-workflow-template.component.html
...t-workflow-template/edit-workflow-template.component.html
+4
-4
edit-workflow-template.component.ts
...dit-workflow-template/edit-workflow-template.component.ts
+2
-6
message-engine-applicant-view.component.ts
...applicant-view/message-engine-applicant-view.component.ts
+3
-2
No files found.
frontend/angular/src/app/components/admin-portal/edit-workflow-template/edit-workflow-template.component.html
View file @
2b1f009a
...
...
@@ -36,7 +36,7 @@
toggler=
"header"
[
collapsed
]="
true
"
>
<p-header>
<span
class=
"ui-panel-title"
>
{{
getStageHeader
(stage)}}
{{
stage.Name + getMessageCount
(stage)}}
</span>
</p-header>
<div
class=
"form-group ui-g"
>
...
...
@@ -187,7 +187,7 @@
*
ngIf=
"showLabel('StageName'+stage.ObjectID)"
id=
"StageName{{stage.ObjectID}}"
class=
"ui-panel-title"
>
{{
getStageHeader
(stage)}}
{{
stage.Name + getMessageCount
(stage)}}
</span>
<input
(
blur
)="
toggleInput
($
event
,
'
StageName
'+
stage
.
ObjectID
,
false
)"
*
ngIf=
"!showLabel('StageName'+stage.ObjectID)"
...
...
@@ -217,7 +217,7 @@
[
collapsed
]="
true
"
class=
"postStage"
>
<p-header>
<span
class=
"ui-panel-title"
>
{{
getStageHeader
(stage)}}
{{
stage.Name + getMessageCount
(stage)}}
</span>
</p-header>
<div
class=
"ui-g form-group"
>
...
...
@@ -333,7 +333,7 @@
</div>
</div>
<p-panel
[
collapsed
]="!
stage
.
UseMessaging
"
*
ngIf=
"stage.UseMessaging"
[
toggleable
]="
stage
.
UseMessaging
"
header=
"
{{stageMessages
Count(stage)}}"
toggler=
"header"
class=
"messaging"
>
header=
"
Message Schedule{{getMessage
Count(stage)}}"
toggler=
"header"
class=
"messaging"
>
<div
class=
"form-group row"
>
<div
class=
"col-md-offset-9 col-md-3"
>
<button
(
click
)="
addMessage
(
stage
)"
*
ngIf=
"stage.UseMessaging"
...
...
frontend/angular/src/app/components/admin-portal/edit-workflow-template/edit-workflow-template.component.ts
View file @
2b1f009a
...
...
@@ -224,8 +224,8 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
return
false
;
}
get
StageHeader
(
stage
:
WorkflowStageModel
):
string
{
return
`
${
stage
.
Name
}
(
${
stage
.
WorkFlowMessages
?
get
MessageCount
(
stage
:
WorkflowStageModel
):
string
{
return
` (
${
stage
.
WorkFlowMessages
?
stage
.
WorkFlowMessages
.
filter
(
msg
=>
msg
.
Delay
&&
msg
.
MessageTemplate
).
length
:
0
}
)`
;
}
...
...
@@ -418,10 +418,6 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
this
.
displayNewMessageTemplate
=
false
;
}
stageMessagesCount
(
stage
:
WorkflowStageModel
):
string
{
return
`Message Schedule (
${(
stage
&&
stage
.
WorkFlowMessages
)
?
stage
.
WorkFlowMessages
.
length
:
0
}
)`
;
}
addStep
(
$event
,
stage
:
WorkflowStageModel
):
void
{
const
selectedStepType
=
this
.
stepTypeOptions
.
find
(
step
=>
step
.
Value
===
$event
.
Value
);
const
step
=
new
WorkflowStepModel
(
stage
.
Steps
.
length
+
1
,
selectedStepType
,
stage
.
ObjectID
);
...
...
frontend/angular/src/app/components/message-engine-applicant-view/message-engine-applicant-view.component.ts
View file @
2b1f009a
...
...
@@ -4,6 +4,7 @@ import { ActivatedRoute, Params, Router } from '@angular/router';
import
{
Subscription
}
from
'rxjs/Subscription'
;
import
{
AppService
}
from
'../../app.service'
;
import
{
IframeMsgHandlingService
}
from
"../../oneit/services/iframe-msg-handling.service"
;
import
{
SaveService
}
from
'../../oneit/services/save.service'
;
import
{
UtilsService
}
from
'../../oneit/services/utils.service'
;
import
{
BaseComponent
}
from
'../admin-portal/base/base.component'
;
...
...
@@ -32,13 +33,13 @@ export class MessageEngineApplicantViewComponent extends BaseComponent implement
private
utilsService
:
UtilsService
,
private
saveService
:
SaveService
,
private
appService
:
AppService
,
private
messageEngineApplicantViewService
:
MessageEngineApplicantViewService
private
messageEngineApplicantViewService
:
MessageEngineApplicantViewService
,
private
iframeMsgHandlingService
:
IframeMsgHandlingService
)
{
super
(
utilsService
);
}
ngOnInit
():
void
{
this
.
utilsService
.
resetCounter
();
this
.
subscriptions
.
push
(
this
.
activatedRoute
.
params
...
...
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