%! from django.utils.translation import ugettext as _ %> <%! from django.core.urlresolvers import reverse import waffle %> <%inherit file="main.html" /> <%namespace name='static' file='static_content.html'/> <%block name="pagetitle">${_("Dashboard")}%block> <%block name="bodyclass">view-dashboard is-authenticated%block> <%block name="nav_skip">#my-courses%block> <%block name="js_extra"> %block> % if reverifications["must_reverify"] or reverifications["denied"]: <%include file='dashboard/_dashboard_prompt_midcourse_reverify.html' /> % endif %if message: ${message} %endif ${ user.username } ${_("Full Name")} (${_("edit")}) ${ user.profile.name | h } ${_("Email")} % if external_auth_map is None or 'shib' not in external_auth_map.external_domain: (${_("edit")}) % endif ${ user.email | h } % if external_auth_map is None or 'shib' not in external_auth_map.external_domain: ${_("Reset Password")} % endif <%include file='dashboard/_dashboard_status_verification.html' /> <%include file='dashboard/_dashboard_reverification_sidebar.html' /> ${_("Current Courses")} % if len(course_enrollment_pairs) > 0: % for course, enrollment in course_enrollment_pairs: <% show_courseware_link = (course.id in show_courseware_links_for) %> <% cert_status = cert_statuses.get(course.id) %> <% show_email_settings = (course.id in show_email_settings_for) %> <% course_mode_info = all_course_modes.get(course.id) %> <% show_refund_option = (course.id in show_refund_option_for) %> <%include file='dashboard/_dashboard_course_listing.html' args="course=course, enrollment=enrollment, show_courseware_link=show_courseware_link, cert_status=cert_status, show_email_settings=show_email_settings, course_mode_info=course_mode_info, show_refund_option = show_refund_option" /> % endfor % else: % if settings.FEATURES.get('COURSES_ARE_BROWSABLE'): ${_("Looks like you haven't registered for any courses yet.")} ${_("Find courses now!")} % else: ${_("Looks like you haven't been enrolled in any courses yet.")} %endif % endif % if staff_access and len(errored_courses) > 0: ${_("Course-loading errors")} % for course_dir, errors in errored_courses.items(): ${course_dir | h} % for (msg, err) in errors: ${msg} ${err} % endfor % endfor % endif ✕ ${_('Close Modal')} ${_('Email Settings for {course_number}').format(course_number='')}, ${_("modal open")} ${_("Receive course emails")} ✕ ${_('Close Modal')} ${_('Password Reset Email Sent')}, ${_("modal open")} ${_('An email has been sent to {email}. Follow the link in the email to change your password.').format(email=user.email)} ✕ ${_('Close Modal')} ${_("Change Email")}, ${_("modal open")} ${_('Please enter your new email address:')} ${_('Please confirm your password:')} ${_('We will send a confirmation to both {email} and your new email as part of the process.').format(email=user.email)} ✕ ${_('Close Modal')} ${_("Change your name")}, ${_("modal open")} ${_("To uphold the credibility of {platform} certificates, all name changes will be logged and recorded.").format(platform=settings.PLATFORM_NAME)} ${_("Enter your desired full name, as it will appear on the {platform} certificates:").format(platform=settings.PLATFORM_NAME)} ${_("Reason for name change:")} ✕ ${_('Close Modal')} ${_(' {course_number}? ').format(course_number='')}, ${_("modal open")}
${_("Looks like you haven't registered for any courses yet.")}
${_("Looks like you haven't been enrolled in any courses yet.")}
${err}
${_('An email has been sent to {email}. Follow the link in the email to change your password.').format(email=user.email)}
${_('We will send a confirmation to both {email} and your new email as part of the process.').format(email=user.email)}
${_("To uphold the credibility of {platform} certificates, all name changes will be logged and recorded.").format(platform=settings.PLATFORM_NAME)}