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
d4bfb2a1
Commit
d4bfb2a1
authored
Jan 08, 2020
by
GD-A-150752
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Message Schedule Sent Pre-selected
parent
15010cd1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
edit-workflow-template.component.html
...t-workflow-template/edit-workflow-template.component.html
+2
-4
edit-workflow-template.component.ts
...dit-workflow-template/edit-workflow-template.component.ts
+7
-3
No files found.
frontend/angular/src/app/components/admin-portal/edit-workflow-template/edit-workflow-template.component.html
View file @
d4bfb2a1
...
...
@@ -174,7 +174,7 @@
class=
"ui-g ui-fluid"
dndDropzone
>
<div
[
hidden
]="
draggingId
!==
000
"
dndPlaceholderRef
style=
"background: #CCCCCC; border: 1px dashed #000; width: 100%; height: 53px"
></div>
<div
(
dndEnd
)="
onDragEnd
(
$
event
)"
<div
(
dndEnd
)="
onDragEnd
()"
(
dndStart
)="
onDragStart
(
stage
,
genericStages
,
000
)"
*
ngFor=
"let stage of genericStages"
[
dndDraggable
]="
stage
"
...
...
@@ -290,7 +290,7 @@
<div
[
hidden
]="
draggingId
!==
stage
.
ObjectID
"
dndPlaceholderRef
style=
"background: #CCCCCC; border: 1px dashed #000; width: 50%; height: 53px"
></div>
<div
*
ngFor=
"let step of stage.Steps"
class=
"ui-g"
>
<div
(
dndEnd
)="
onDragEnd
(
$
event
)"
<div
(
dndEnd
)="
onDragEnd
()"
(
dndStart
)="
onDragStart
(
step
,
stage
.
Steps
,
stage
.
ObjectID
)"
[
dndDraggable
]="
step
"
class=
"ui-g-6"
...
...
@@ -409,7 +409,6 @@
<label>
Send
</label>
<p-dropdown
(
onChange
)="
showMessageTemplateDialog
($
event
,
message
)"
[(
ngModel
)]="
message
.
MessageTemplate
"
[
autoDisplayFirst
]="
true
"
[
options
]="
messageTemplates
"
filter=
"true"
name=
"messageTemplate{{message.ObjectID}}"
...
...
@@ -502,7 +501,6 @@
<label>
Send
</label>
<p-dropdown
(
onChange
)="
showMessageTemplateDialog
($
event
,
message
)"
[(
ngModel
)]="
message
.
MessageTemplate
"
[
autoDisplayFirst
]="
true
"
[
options
]="
messageTemplates
"
filter=
"true"
name=
"messageTemplate{{message.ObjectID}}"
...
...
frontend/angular/src/app/components/admin-portal/edit-workflow-template/edit-workflow-template.component.ts
View file @
d4bfb2a1
...
...
@@ -622,8 +622,12 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
this
.
utilsService
.
resetCounter
();
this
.
utilsService
.
clearErrorMessages
();
const
assoc
=
[
ASSOCS
.
WORKFLOW_STAGE
,
[
ASSOCS
.
WORKFLOW_STAGE
,
ASSOCS
.
WORKFLOW_MESSAGE
,
ASSOCS
.
MESSAGE_TEMPLATE
].
join
(
'.'
),
[
ASSOCS
.
WORKFLOW_STAGE
,
ASSOCS
.
WORKFLOW_MESSAGE
].
join
(
'.'
),
[
ASSOCS
.
WORKFLOW_STAGE
,
ASSOCS
.
WORKFLOW_STEP
].
join
(
'.'
)];
const
assoc
=
[
ASSOCS
.
WORKFLOW_STAGE
,
[
ASSOCS
.
WORKFLOW_STAGE
,
ASSOCS
.
WORKFLOW_MESSAGE
,
ASSOCS
.
MESSAGE_TEMPLATE
].
join
(
'.'
),
[
ASSOCS
.
WORKFLOW_STAGE
,
ASSOCS
.
WORKFLOW_MESSAGE
].
join
(
'.'
),
[
ASSOCS
.
WORKFLOW_STAGE
,
ASSOCS
.
WORKFLOW_STEP
].
join
(
'.'
)
];
this
.
subscriptions
.
push
(
this
.
editWorkflowTemplateService
.
getWorkflowTemplateByID
(
id
,
assoc
)
.
subscribe
(
...
...
@@ -712,7 +716,7 @@ export class EditWorkflowTemplateComponent extends BaseComponent implements OnIn
this
.
draggingId
=
listId
;
}
onDragEnd
(
event
):
void
{
onDragEnd
():
void
{
setTimeout
(()
=>
{
this
.
draggingItem
=
null
;
this
.
draggingId
=
null
;
...
...
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