Commit 19607e6d by Nilu

responsive alert custom message change

parent 1217141a
......@@ -9,6 +9,9 @@
<%! protected String getName (ServletConfig config) { return "responsive_alert_jsp"; } %>
<%@ include file="inc/htmlheader_nopriv.jsp" %>
<%
String fromPage = request.getParameter("fromPage") != null ? (String) request.getParameter("fromPage") : "";
%>
<div class="modal reponsive-alert" role="dialog">
<div class="responsive-alert-top">
<div class="responsive-alert-body">
......@@ -17,7 +20,20 @@
<h2>Uh oh</h2>
<p> Talentology for Hiring Teams is currently available on desktop computers only.</p>
<p>Sorry about that!</p>
<p>On your desktop, check your email for our "Welcome to Talentology" message, and follow its link to get started!</p>
<%
if(fromPage.trim().equals("signin"))
{
%>
<p>On your desktop, please return to our sign in and you’ll be on your way.</p>
<%
}
else
{
%>
<p>On your desktop, check your email for our "Welcome to Talentology" message, and follow its link to get started!</p>
<%
}
%>
<div class="create-y-f-job">
<img src="<%= request.getContextPath() %>/images/logo.svg">
</div>
......
......@@ -11,7 +11,7 @@
if(isMobile)
{
response.sendRedirect(request.getContextPath() + "/extensions/adminportal/responsive_alert.jsp");
response.sendRedirect(request.getContextPath() + "/extensions/adminportal/responsive_alert.jsp?fromPage=signin");
}
ORMProcessState process = (ORMProcessState) ProcessDecorator.getDefaultProcess(request);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment