Skip to content
Snippets Groups Projects
Commit d939a61e authored by Victor Shnayder's avatar Victor Shnayder Committed by Diana Huang
Browse files

Update error messages and copy for re-verification flow

parent 97b076cb
No related merge requests found
......@@ -537,11 +537,10 @@ class SoftwareSecurePhotoVerification(PhotoVerification):
# Translates the category names and messages into something more human readable
message_dict = {
("photoIdReasons", "Not provided"): _("No photo ID was provided."),
("photoIdReasons", "Text not clear"): _("The text in your photo ID image was not clear."),
("photoIdReasons", "Text not clear"): _("We couldn't read your name from your photo ID image."),
("generalReasons", "Name mismatch"): _("The name associated with your account and the name on your ID do not match."),
("generalReasons", "Expected name missing"): _("We were unable to send your name along with your photo."),
("userPhotoReasons", "Image not clear"): _("The image of your face was not clear."),
("userPhotoReasons", "Face out of view"): _("Your face was not in view for your face photo"),
("userPhotoReasons", "Face out of view"): _("Your face was not visible in your self-photo"),
}
try:
......
......@@ -6,7 +6,12 @@
<li class="help-item help-item-whyreverify">
<h3 class="title">${_("Why Do I Need to Re-Verify?")}</h3>
<div class="copy">
<p>${_("Nulla vitae elit libero, a pharetra augue. Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit sit amet non magna.")}</p>
<p>${_("There was a problem with your original verification. To make sure that your identity is correctly associated with your course progress, we need to retake your photo and a photo of your identification document. If you don't have a valid identification document, contact {link_start}{support_email}{link_end}.").format(
support_email=settings.DEFAULT_FEEDBACK_EMAIL,
link_start=u'<a href="mailto:{address}?subject={subject_line}">'.format(
address=settings.DEFAULT_FEEDBACK_EMAIL,
subject_line=_('Problem with ID re-verification')),
link_end=u'</a>')}</p>
</div>
</li>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment