<commit_before><%page expression_filter="h"/>
<%namespace name='static' file='../static_content.html'/>
<%!
from django.urls import reverse
from django.utils.translation import ugettext as _
from lms.djangoapps.verify_student.services import IDVerificationService
%>

%if verification_display:
    %if verification_status == 'approved':
        <li class="status status-verification is-accepted">
            <span class="title status-title">${_("Current Verification Status: Approved")}</span>
            <p class="status-note">${_("Your edX verification has been approved. Your verification is effective for one year after submission.")}</p>
            %if verification_expiry:
                <p class="status-note"><span><b>${_("Warning")}: </b></span><i>${_("Your photo verification expires on {verification_expiry}. Please be aware photo verification can take up to three days once initiated and you will not be able to earn a certificate or take a proctored exam until approved.").format(verification_expiry=verification_expiry)}</i></p>
                <div class="btn-reverify">
                    <a href="${IDVerificationService.get_verify_location()}" class="action action-reverify">${_("Resubmit Verification")}</a>
                </div>
            %endif
        </li>
    %elif verification_status == 'pending':
        <li class="status status-verification is-pending">
            <span class="title status-title">${_("Current Verification Status: Pending")}</span>
            <p class="status-note">${_("Your edX ID verification is pending. Your verification information has been submitted and will be reviewed shortly.")}</p>
        </li>
    %elif verification_status in ['denied','must_reverify', 'must_retry']:
        <li class="status status-verification is-denied">
            <span class="title status-title">${_("Current Verification Status: Denied")}</span>
            <p class="status-note">
        ${_("Your verification submission was not accepted. To receive a verified certificate, you must submit a new photo of yourself and your government-issued photo ID before the verification deadline for your course.")}

            %if verification_errors:
                <br><br>
                ${_("Your verification was denied for the following reasons:")}<br>
                <ul>
                %for error in verification_errors:
                    <li>${error}</li>
                %endfor
                </ul>
            %endif
            </p>
        <div class="btn-reverify">
            <a href="${IDVerificationService.get_verify_location()}" class="action action-reverify">${_("Resubmit Verification")}</a>
        </div>
        </li>
    %elif verification_status == 'expired':
        <li class="status status-verification is-denied">
            <span class="title status-title">${_("Current Verification Status: Expired")}</span>
            <p class="status-note">${_("Your verification has expired. To receive a verified certificate, you must submit a new photo of yourself and your government-issued photo ID before the verification deadline for your course.")}</p>
            <p class="status-note"><span><b>${_("Warning")}: </b></span><i>${_(" Please be aware photo verification can take up to three days once initiated and you will not be able to earn a certificate or take a proctored exam until approved.")}</i></p>
            <div class="btn-reverify">
                <a href="${IDVerificationService.get_verify_location()}" class="action action-reverify">${_("Resubmit Verification")}</a>
            </div>
        </li>
    %endif
%endif
<commit_msg>[TNL-7749] - Remove italic styling for warning msg on expired state.<commit_after><%page expression_filter="h"/>
<%namespace name='static' file='../static_content.html'/>
<%!
from django.urls import reverse
from django.utils.translation import ugettext as _
from lms.djangoapps.verify_student.services import IDVerificationService
%>

%if verification_display:
    %if verification_status == 'approved':
        <li class="status status-verification is-accepted">
            <span class="title status-title">${_("Current Verification Status: Approved")}</span>
            <p class="status-note">${_("Your edX verification has been approved. Your verification is effective for one year after submission.")}</p>
            %if verification_expiry:
                <p class="status-note"><span><b>${_("Warning")}: </b></span><i>${_("Your photo verification expires on {verification_expiry}. Please be aware photo verification can take up to three days once initiated and you will not be able to earn a certificate or take a proctored exam until approved.").format(verification_expiry=verification_expiry)}</i></p>
                <div class="btn-reverify">
                    <a href="${IDVerificationService.get_verify_location()}" class="action action-reverify">${_("Resubmit Verification")}</a>
                </div>
            %endif
        </li>
    %elif verification_status == 'pending':
        <li class="status status-verification is-pending">
            <span class="title status-title">${_("Current Verification Status: Pending")}</span>
            <p class="status-note">${_("Your edX ID verification is pending. Your verification information has been submitted and will be reviewed shortly.")}</p>
        </li>
    %elif verification_status in ['denied','must_reverify', 'must_retry']:
        <li class="status status-verification is-denied">
            <span class="title status-title">${_("Current Verification Status: Denied")}</span>
            <p class="status-note">
        ${_("Your verification submission was not accepted. To receive a verified certificate, you must submit a new photo of yourself and your government-issued photo ID before the verification deadline for your course.")}

            %if verification_errors:
                <br><br>
                ${_("Your verification was denied for the following reasons:")}<br>
                <ul>
                %for error in verification_errors:
                    <li>${error}</li>
                %endfor
                </ul>
            %endif
            </p>
        <div class="btn-reverify">
            <a href="${IDVerificationService.get_verify_location()}" class="action action-reverify">${_("Resubmit Verification")}</a>
        </div>
        </li>
    %elif verification_status == 'expired':
        <li class="status status-verification is-denied">
            <span class="title status-title">${_("Current Verification Status: Expired")}</span>
            <p class="status-note">${_("Your verification has expired. To receive a verified certificate, you must submit a new photo of yourself and your government-issued photo ID before the verification deadline for your course.")}</p>
            <p class="status-note"><span><b>${_("Warning")}: </b></span>${_(" Please be aware photo verification can take up to three days once initiated and you will not be able to earn a certificate or take a proctored exam until approved.")}</p>
            <div class="btn-reverify">
                <a href="${IDVerificationService.get_verify_location()}" class="action action-reverify">${_("Resubmit Verification")}</a>
            </div>
        </li>
    %endif
%endif

{'fraction_non_alphanumeric': 0.13099479309399836, 'fraction_numerical': 0.0005480953685941354, 'mean_word_length': 3.0392916436081903, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2273736', 'n_tokens_mistral': 1916, 'n_tokens_neox': 1860, 'n_words': 601}