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
09f6c6fe
Commit
09f6c6fe
authored
Nov 16, 2018
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S12520521 # Client - Incoming Issues (raised by Client) #DIsable Create Job while creating a job
parent
db744969
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
10 deletions
+27
-10
WebUtils.java
cmsWebApp/src/performa/utils/WebUtils.java
+10
-0
htmlheader.jsp
cmsWebApp/webroot/extensions/adminportal/inc/htmlheader.jsp
+17
-10
No files found.
cmsWebApp/src/performa/utils/WebUtils.java
View file @
09f6c6fe
...
...
@@ -163,6 +163,16 @@ public class WebUtils
renderMode
.
equals
(
CREATED_JOB
);
}
public
static
Boolean
onJobPages
(
String
renderMode
)
{
return
renderMode
.
equals
(
CREATE_JOB
)
||
renderMode
.
equals
(
ASSESSMENT_CRITERIA
)
||
renderMode
.
equals
(
WORKPLACE_CULTURE
)
||
renderMode
.
equals
(
JOB_REVIEW
)
||
renderMode
.
equals
(
START_JOB
)
||
renderMode
.
equals
(
CREATED_JOB
);
}
public
static
boolean
showHeaderFooter
(
ObjectTransaction
objTran
,
Article
article
)
{
Article
accVerificationArticle
=
getArticleByShortCut
(
objTran
,
COMPANY_ACCOUNT_VERIFICATION
);
...
...
cmsWebApp/webroot/extensions/adminportal/inc/htmlheader.jsp
View file @
09f6c6fe
...
...
@@ -28,7 +28,12 @@
<
%@
include
file=
"/hotjar.jsp"
%
>
<
%@
include
file=
"/heapAnalysis.jsp"
%
>
<
%@
page
import=
"oneit.servlets.portability.BrowserServices"
%
>
<!-- Google Tag Manager -->
<script>
(
function
(
w
,
d
,
s
,
l
,
i
){
w
[
l
]
=
w
[
l
]
||
[];
w
[
l
].
push
({
'gtm.start'
:
new
Date
().
getTime
(),
event
:
'gtm.js'
});
var
f
=
d
.
getElementsByTagName
(
s
)[
0
],
j
=
d
.
createElement
(
s
),
dl
=
l
!=
'dataLayer'
?
'&l='
+
l
:
''
;
j
.
async
=
true
;
j
.
src
=
'https://www.googletagmanager.com/gtm.js?id='
+
i
+
dl
;
f
.
parentNode
.
insertBefore
(
j
,
f
);})(
window
,
document
,
'script'
,
'dataLayer'
,
'GTM-WFZ4NVT'
);
</script>
<!-- End Google Tag Manager -->
</head>
<script>
window
.
intercomSettings
=
{
...
...
@@ -62,6 +67,9 @@
(
function
(){
var
w
=
window
;
var
ic
=
w
.
Intercom
;
if
(
typeof
ic
===
"function"
){
ic
(
'reattach_activator'
);
ic
(
'update'
,
intercomSettings
);}
else
{
var
d
=
document
;
var
i
=
function
(){
i
.
c
(
arguments
)};
i
.
q
=
[];
i
.
c
=
function
(
args
){
i
.
q
.
push
(
args
)};
w
.
Intercom
=
i
;
function
l
(){
var
s
=
d
.
createElement
(
'script'
);
s
.
type
=
'text/javascript'
;
s
.
async
=
true
;
s
.
src
=
'https://widget.intercom.io/widget/kqed9h3r'
;
var
x
=
d
.
getElementsByTagName
(
'script'
)[
0
];
x
.
parentNode
.
insertBefore
(
s
,
x
);}
if
(
w
.
attachEvent
){
w
.
attachEvent
(
'onload'
,
l
);}
else
{
w
.
addEventListener
(
'load'
,
l
,
false
);}}})()
</script>
<body>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe
src=
"https://www.googletagmanager.com/ns.html?id=GTM-WFZ4NVT"
height=
"0"
width=
"0"
style=
"display:none;visibility:hidden"
></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<
%
boolean
isMobile =
BrowserServices.isMobile(request);
...
...
@@ -107,17 +115,15 @@
{
$
(
'.change-hiring-team'
).
click
();
});
var
toolpop
=
new
jBox
(
'Tooltip'
,
{
var
toolpop
=
new
jBox
(
'Tooltip'
,
{
attach
:
'.info-icon'
,
pointer
:
'right:5'
});
var
toolpop
=
new
jBox
(
'Tooltip'
,
{
attach
:
'.info-icon-left'
,
pointer
:
'left:5'
});
});
var
toolpop
=
new
jBox
(
'Tooltip'
,
{
attach
:
'.info-icon-left'
,
pointer
:
'left:5'
});
});
</script>
...
...
@@ -180,8 +186,9 @@
<div
class=
"create-job-btn"
>
<
%
Article
jobsArticle =
WebUtils.getArticleByShortCut(objTran,
WebUtils
.
JOBS
);
boolean
onJob =
WebUtils.onJobPages(renderMode);
%
>
<a
href=
"<%=
jobsArticle.getLink(request, CollectionUtils.mapEntry("
cms
.
rm
",
WebUtils
.
START_JOB
).
toMap
())
%
>
"
class="disabled">Create Job
</a>
<a
href=
"<%=
onJob ? "
#"
:
jobsArticle
.
getLink
(
request
,
CollectionUtils
.
mapEntry
("
cms
.
rm
",
WebUtils
.
START_JOB
).
toMap
())
%
>
"
class="disabled">Create Job
</a>
</div>
</div>
</div>
...
...
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