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
adc79979
Commit
adc79979
authored
Apr 26, 2019
by
Nilu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
S31489017 # Client - Incoming Issues (raised by Client) #Wrong destination for applicant URL
parent
7889baef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
incomplete_applicants_list.jsp
...extensions/adminportal/inc/incomplete_applicants_list.jsp
+15
-3
No files found.
cmsWebApp/webroot/extensions/adminportal/inc/incomplete_applicants_list.jsp
View file @
adc79979
...
@@ -27,14 +27,21 @@
...
@@ -27,14 +27,21 @@
});
});
});
});
function copyHTMLToClip(ele) {
function copyHTMLToClip(ele
, verified
) {
var aux = document.createElement("textarea");
var aux = document.createElement("textarea");
aux.value = $(ele).text().trim();
aux.value = $(ele).text().trim();
document.body.appendChild(aux);
document.body.appendChild(aux);
aux.select();
aux.select();
document.execCommand("copy");
document.execCommand("copy");
document.body.removeChild(aux);
document.body.removeChild(aux);
alert("link copied to clipboard");
if(verified)
{
alert("link copied to clipboard");
}
else
{
alert("This applicant's email address is not verified. If the email address is wrong, further messages cannot be sent. \nLink copied to clipboard");
}
};
};
</script>
</script>
<div class="view-appli-list">
<div class="view-appli-list">
...
@@ -78,6 +85,11 @@
...
@@ -78,6 +85,11 @@
<%
<%
}
}
if( candidate.getVerificationKey() == null)
{
candidate.setVerificationKey(new RandomStringGen().generateAlphaNum(6));
}
String jobLink = LoopbackHTTP.getRemoteAccessURL()
String jobLink = LoopbackHTTP.getRemoteAccessURL()
+ Utils.APPLICANT_LINK
+ Utils.APPLICANT_LINK
+ "?id=" + job.getID()
+ "?id=" + job.getID()
...
@@ -87,7 +99,7 @@
...
@@ -87,7 +99,7 @@
%>
%>
<oneit:toString value="<%= candidate %>" mode="EscapeHTML" />
<oneit:toString value="<%= candidate %>" mode="EscapeHTML" />
<span style="float:right; padding-right: 5px;">
<span style="float:right; padding-right: 5px;">
<a style="float:right; padding-right: 10px;" onclick="copyHTMLToClip('.<%= jobApplication.getID().toString() + "link"%>')">
<a style="float:right; padding-right: 10px;" onclick="copyHTMLToClip('.<%= jobApplication.getID().toString() + "link"%>'
, <%= candidate.getIsAccountVerified()%>
)">
<img src="images/copy-icon.jpg">
<img src="images/copy-icon.jpg">
<span style="display:none;" class='<%= jobApplication.getID().toString() + "link"%>'>
<span style="display:none;" class='<%= jobApplication.getID().toString() + "link"%>'>
<%= jobLink %>
<%= jobLink %>
...
...
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