})
})
})
% if course.has_ended(): ${_("Course Completed - {end_date}").format(end_date=course.end_datetime_text("DATE_TIME"))} % elif course.has_started(): ${_("Course Started - {start_date}").format(start_date=course.start_datetime_text("DATE_TIME"))} % elif course.start_date_is_still_default: # Course start date TBD ${_("Course has not yet started")} % else: # hasn't started yet ${_("Course Starts - {start_date}").format(start_date=course.start_datetime_text("DATE_TIME"))} % endif
${get_course_about_section(course, 'university')}
% if show_courseware_link: % if not is_course_blocked: ${course.display_number_with_default | h} ${course.display_name_with_default} % else: ${course.display_number_with_default | h} ${course.display_name_with_default} % endif % else: ${course.display_number_with_default | h} ${course.display_name_with_default} % endif
% if course.may_certify() and cert_status: <%include file='_dashboard_certificate_information.html' args='cert_status=cert_status,course=course, enrollment=enrollment'/> % endif % if settings.FEATURES.get('SEPARATE_VERIFICATION_FROM_PAYMENT') and request.session.get('separate-verified', True): % if verification_status.get('status') in [VERIFY_STATUS_NEED_TO_VERIFY, VERIFY_STATUS_SUBMITTED, VERIFY_STATUS_APPROVED] and not is_course_blocked: % endif % endif % if course_mode_info['show_upsell'] and not is_course_blocked: %endif % if is_course_blocked:${_("You can no longer access this course because payment has not yet been received. " "You can {contact_link_start}contact the account holder{contact_link_end} " "to request payment, or you can " "{unenroll_link_start}unenroll{unenroll_link_end} " "from this course").format( contact_link_start='', contact_link_end='', unenroll_link_start=( ''.format( course_id=escape(course.id), course_number=escape(course.number), ) ), unenroll_link_end="", )}
%endif % if show_courseware_link: % if course.has_ended(): % if not is_course_blocked: ${_('View Archived Course')} % else: ${_('View Archived Course')} % endif % else: % if not is_course_blocked: ${_('View Course')} % else: ${_('View Course')} % endif % endif % endif % if is_paid_course and show_refund_option: ## Translators: The course's name will be added to the end of this sentence. % if not is_course_blocked: ${_('Unenroll')} % else: ${_('Unenroll')} % endif % elif is_paid_course and not show_refund_option: ## Translators: The course's name will be added to the end of this sentence. % if not is_course_blocked: ${_('Unenroll')} % else: ${_('Unenroll')} % endif % elif enrollment.mode != "verified": ## Translators: The course's name will be added to the end of this sentence. % if not is_course_blocked: ${_('Unenroll')} % else: ${_('Unenroll')} % endif % elif show_refund_option: ## Translators: The course's name will be added to the end of this sentence. % if not is_course_blocked: ${_('Unenroll')} % else: ${_('Unenroll')} % endif % else: ## Translators: The course's name will be added to the end of this sentence. % if not is_course_blocked: ${_('Unenroll')} % else: ${_('Unenroll')} % endif % endif % if show_email_settings: % if not is_course_blocked: ${_('Email Settings')} % else: ${_('Email Settings')} % endif % endif