%! from django.utils.translation import ugettext as _ %>
<%! from django.template import RequestContext %>
<%!
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 len(language_options) > 1:
<%include file='dashboard/_dashboard_info_language.html' />
%endif
% if external_auth_map is None or 'shib' not in external_auth_map.external_domain:
${_("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
${_('Email Settings for {course_number}').format(course_number='')}
,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_('Password Reset Email Sent')}
,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_("Change Email")},
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_("Change your name")}
,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}
${_(' {course_number}? ').format(course_number='')}
,
## Translators: this text gives status on if the modal interface (a menu or piece of UI that takes the full focus of the screen) is open or not
${_("modal open")}