Commit 738c19aa by Bridger Maxwell

Added links back to Profile page after certificate request or survey.

parent a8bff6f6
......@@ -54,7 +54,7 @@ $(function() {
postJSON('/certificate_request', values, function(data) {
if (data.success) {
$("#cert_request").html("<h1>Certificate Request Received</h1><p>Thank you! We will let you know when the certificate is ready to download <a href='/profile'>from the Profile page</a>.</p>");
$("#cert_request").html("<h1>Certificate Request Received</h1><p>Thank you! We will let you know when the certificate is ready to download from the <a href='/profile'>Profile page</a>.</p>");
} else {
$("#cert_request_error").html(data.error).scrollMinimal();
}
......@@ -68,7 +68,7 @@ $(function() {
postJSON('/exit_survey', values, function(data) {
if (data.success) {
$("#survey").html("<h1>Survey Response Recorded</h1><p>Thank you for filling out the survey!</p>");
$("#survey").html("<h1>Survey Response Recorded</h1><p>Thank you for filling out the survey! You can now return to the <a href='/profile'>Profile page</a>.</p>");
} else {
$("#survey_error").html(data.error).scrollMinimal();
}
......
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