From 5921bca0822b7c640e0435cbf76ce1a15336ff7c Mon Sep 17 00:00:00 2001 From: Frances Botsford Date: Wed, 11 Sep 2013 14:35:55 -0400 Subject: [PATCH] adding notification to photo page when no flash or webcam is detected --- .../verify_student/photo_verification.html | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/lms/templates/verify_student/photo_verification.html b/lms/templates/verify_student/photo_verification.html index 3249e5bcd4..65a5620969 100644 --- a/lms/templates/verify_student/photo_verification.html +++ b/lms/templates/verify_student/photo_verification.html @@ -13,6 +13,36 @@ <%block name="content"> + +%if is_no_webcam: +
+
+ +
+

${_("No Webcam Detected")}

+
+

${_("You don't seem to have a webcam connected. Double-check that your webcam is connected and working to continue registering, or select to {a_start} audit the course for free {a_end} without verifying.").format(a_start='', a_end="")}

+
+
+
+
+%endif + +%if is_no_flash: +
+
+ +
+

${_("No Flash Detected")}

+
+

${_("You don't seem to have Flash installed. {a_start} Get Flash {a_end} to continue your registration.").format(a_start='', a_end="")}

+
+
+
+
+%endif + +