${_("Current Courses")}
+-
+ % for dashboard_index, (course, enrollment) in enumerate(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) %>
+ <% is_paid_course = (course.id in enrolled_courses_either_paid) %>
+ <% is_course_blocked = (course.id in block_courses) %>
+ <% course_verification_status = verification_status_by_course.get(course.id, {}) %>
+ <% course_requirements = courses_requirements_not_met.get(course.id) %>
+ <%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, is_paid_course = is_paid_course, is_course_blocked = is_course_blocked, verification_status=course_verification_status, course_requirements=course_requirements, dashboard_index=dashboard_index" />
+ % endfor
+
${_("Looks like you haven't enrolled in any courses yet.")}
+ + ${_("Find courses now!")} + + % else: +${_("Looks like you haven't enrolled in any courses yet.")}
+ %endif +
+
+ % endif
+ ${_("Course-loading errors")}
+ + % for course_dir, errors in errored_courses.items(): +${course_dir | h}
+-
+ % for (msg, err) in errors:
+
- ${msg}
+
${err}
+ % endfor
+
${_("Username")}: ${ user.username }
+${_("Username")}: ${ user.username }
-
@@ -119,7 +168,6 @@
${state.provider.NAME}
-
% if state.has_account:
+ % else:
- ## Translators: clicking on this creates a link between a user's edX account and their account with an external authentication provider (like Google or LinkedIn).
- ${_("Link")}
+ ## Translators: clicking on this creates a link between a user's edX account and their account with an external authentication provider (like Google or LinkedIn).
+ ${_("Link")}
% endif
-
-
% endfor
+
+