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
ae054701
Commit
ae054701
authored
Nov 20, 2018
by
Saliya Randunu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S12522329 # Client - Incoming Issues (raised by Client) #Icon and step name broken
parent
7ea3038b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
common.css
cmsWebApp/webroot/css/common.css
+1
-0
view_application_tab_applicant.jsp
...nsions/adminportal/inc/view_application_tab_applicant.jsp
+1
-1
common.js
cmsWebApp/webroot/scripts/common.js
+12
-2
No files found.
cmsWebApp/webroot/css/common.css
View file @
ae054701
...
...
@@ -4912,6 +4912,7 @@ span.right-img {
img
.alert-icon
{
float
:
left
;}
.close-alert
{
float
:
right
;
margin-top
:
3px
;
cursor
:
pointer
;}
.appli-status-short
{
width
:
170px
;}
.select-img-wrap
select
{
width
:
100%
;}
.complete-page-footer
{
margin-bottom
:
109px
;}
.userPic
{
margin-right
:
16px
;
position
:
relative
;
top
:
-1px
;}
.mobile-hide
{
display
:
inline-block
;}
...
...
cmsWebApp/webroot/extensions/adminportal/inc/view_application_tab_applicant.jsp
View file @
ae054701
...
...
@@ -109,7 +109,7 @@
<option>Excel</option>
</select>
</span>
<span class="appli-status-short
">
<span class="appli-status-short
select-img-wrap">
<tagfile:ormsingleasso_select obj="<%= jobApplication %>" assocName="WorkFlow" cssClass="form-control app-process"
options="<%= sortedWorkFlows.toArray(new WorkFlow[0]) %>"/>
...
...
cmsWebApp/webroot/scripts/common.js
View file @
ae054701
...
...
@@ -5,11 +5,18 @@ $(document).ready(function () {
$
(
'select'
).
select2
({
minimumResultsForSearch
:
Infinity
});
$
(
'.status-img'
).
select2
({
minimumResultsForSearch
:
Infinity
,
templateResult
:
addUserPic
,
templateSelection
:
addUserPic
});
$
(
'.select-img-wrap select'
).
select2
({
dropdownAutoWidth
:
true
,
minimumResultsForSearch
:
Infinity
,
templateResult
:
addUserPic
,
templateSelection
:
addUserPic
});
$
(
'.navbar-toggle'
).
click
(
function
()
{
$
(
'.main-menu ul'
).
slideToggle
();
});
...
...
@@ -42,19 +49,22 @@ function setTabingSideBarHeight(){
}
function
addUserPic
(
opt
)
{
if
(
!
opt
.
id
)
{
return
opt
.
text
;
}
var
optimage
=
$
(
opt
.
element
).
data
(
'image'
);
if
(
!
optimage
)
{
var
$opt
=
$
(
'<span class="userName"><img src="images/'
+
$
(
opt
.
element
).
text
().
toLowerCase
()
+
'.png" class="userPic" /> '
+
$
(
opt
.
element
).
text
()
+
'</span>'
'<span class="userName
"><img src="images/'
+
$
(
opt
.
element
).
text
().
toLowerCase
()
+
'.png" class="userPic" /> '
+
$
(
opt
.
element
).
text
()
+
'</span>'
);
return
$opt
;
}
else
{
var
$opt
=
$
(
'<span class="userName"><img src="'
+
optimage
+
'" class="userPic" /> '
+
$
(
opt
.
element
).
text
()
+
'</span>'
'<span class="userName
tst
"><img src="'
+
optimage
+
'" class="userPic" /> '
+
$
(
opt
.
element
).
text
()
+
'</span>'
);
return
$opt
;
}
...
...
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