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
f8241828
Commit
f8241828
authored
Dec 10, 2019
by
GD-A-150752
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug-Fix
S52756884 #UX Fix Message Template
parent
c0751dec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
33 additions
and
30 deletions
+33
-30
edit-message-template.component.html
...dit-message-template/edit-message-template.component.html
+27
-29
custom.scss
frontend/angular/src/assets/css/custom.scss
+6
-1
No files found.
frontend/angular/src/app/components/admin-portal/edit-message-template/edit-message-template.component.html
View file @
f8241828
<div
[
ngClass
]="{'
global-content-area
'
:
isGlobalHT
}"
class=
"{{objectID ? 'openedFromWorkflow' : 'dashboard-content-area second-part' }}"
>
<div
[
ngClass
]="{'
global-content-area
'
:
isGlobalHT
}"
class=
"{{objectID ? 'openedFromWorkflow' : 'dashboard-content-area second-part' }}"
>
<app-error-message></app-error-message>
<form
#
form=
"ngForm"
>
<div
class=
"ui-g ui-fluid"
>
...
...
@@ -6,15 +7,16 @@
<div
class=
"ui-g ui-fluid"
*
ngIf=
"!objectID"
>
<div
class=
"ui-g-12"
>
<div
class=
"page-title page-title-with-arrow"
>
<a
[
routerLink
]="[
isGlobalHT
?
'/
list-message-templates
/
global
'
:
'/
admin
/
list-message-templates
']"
class=
"arrow-btn-blue ml-0"
<a
[
routerLink
]="[
isGlobalHT
?
'/
list-message-templates
/
global
'
:
'/
admin
/
list-message-templates
']"
class=
"arrow-btn-blue ml-0"
*
ngIf=
"!objectID"
>
<img
src=
"assets/images/arrow-left-prev_blue.svg"
>
<img
src=
"assets/images/arrow-left-prev_blue.svg"
alt=
""
>
</a>
{{editMode ? "Edit" : "Add"}} Message Template
</div>
</div>
</div>
<div
class=
"main-tab-template"
>
<div
class=
"
form-group
main-tab-template"
>
<span
class=
"job-details culture"
>
Message Template
</span>
</div>
<div
class=
"ui-g ui-fluid form message-template-form"
>
...
...
@@ -70,7 +72,7 @@
<button
class=
"btn btn-primary add-more-btn"
(
click
)="
addAnchorText
(
true
)"
>
Add
</button>
<button
class=
"btn btn-primary add-more-btn"
(
click
)="
addAnchorText
(
false
)"
>
Cancel
</button>
</p-overlayPanel>
<div
class=
"
form-group
row"
>
<div
class=
"row"
>
<div
class=
"col-md-12"
>
<label>
Message Content
</label>
<p-editor
*
ngIf=
"emailTemplateType()"
[(
ngModel
)]="
messageTemplate
.
MessageContent
"
...
...
@@ -100,30 +102,26 @@
</div>
<div
class=
"ui-g ui-fluid"
>
<div
class=
"ui-g-12 ui-md-12"
>
<div
class=
"ui-g"
>
<div
class=
"ui-g-12 ui-md-12"
>
<div
class=
"text-center form-group"
>
<button
type=
"button"
value=
"Cancel"
class=
"btn btn-primary largeBtn greyBtn"
(
click
)="
cancelClicked
()"
>
Cancel
</button>
<button
*
ngIf=
"showSaveBtn()"
type=
"button"
value=
"Save"
class=
"btn btn-primary largeBtn"
(
click
)="
saveMessageTemplate
()"
[
disabled
]="
showLoader
"
>
Save
</button>
<button
*
ngIf=
"showSaveIntoAllTemplates()"
type=
"button"
value=
"Save into all templates"
class=
"btn btn-primary largeBtn"
(
click
)="
saveMessageTemplate
()"
[
disabled
]="
showLoader
"
>
Save into all templates
</button>
<button
*
ngIf=
"showSaveCopyBtn()"
type=
"button"
value=
"Save As a Copy"
class=
"btn btn-primary largeBtn"
(
click
)="
saveMessageTemplate
(
true
)"
[
disabled
]="
showLoader
"
>
Save As a Copy
</button>
</div>
</div>
<div
class=
"text-center"
>
<button
type=
"button"
value=
"Cancel"
class=
"btn btn-primary largeBtn greyBtn"
(
click
)="
cancelClicked
()"
>
Cancel
</button>
<button
*
ngIf=
"showSaveBtn()"
type=
"button"
value=
"Save"
class=
"btn btn-primary largeBtn"
(
click
)="
saveMessageTemplate
()"
[
disabled
]="
showLoader
"
>
Save
</button>
<button
*
ngIf=
"showSaveIntoAllTemplates()"
type=
"button"
value=
"Save into all templates"
class=
"btn btn-primary largeBtn"
(
click
)="
saveMessageTemplate
()"
[
disabled
]="
showLoader
"
>
Save into all templates
</button>
<button
*
ngIf=
"showSaveCopyBtn()"
type=
"button"
value=
"Save As a Copy"
class=
"btn btn-primary largeBtn"
(
click
)="
saveMessageTemplate
(
true
)"
[
disabled
]="
showLoader
"
>
Save As a Copy
</button>
</div>
</div>
</div>
...
...
frontend/angular/src/assets/css/custom.scss
View file @
f8241828
...
...
@@ -283,6 +283,11 @@
.message-template-form
{
padding-top
:
0
!
important
;
padding-bottom
:
0
!
important
;
}
.main-tab-template
{
height
:
50px
;
}
}
}
...
...
@@ -292,7 +297,7 @@
left
:
130px
!
important
;
right
:
130px
!
important
;
overflow-y
:
scroll
;
height
:
80
%
!
important
;
height
:
92
%
!
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