diff --git a/lms/djangoapps/instructor/views/instructor_dashboard.py b/lms/djangoapps/instructor/views/instructor_dashboard.py index 237e689e8a..a544a7d6ec 100644 --- a/lms/djangoapps/instructor/views/instructor_dashboard.py +++ b/lms/djangoapps/instructor/views/instructor_dashboard.py @@ -39,6 +39,7 @@ from course_modes.models import CourseMode, CourseModesArchive from student.roles import CourseFinanceAdminRole, CourseSalesAdminRole from certificates.models import CertificateGenerationConfiguration from certificates import api as certs_api +from util.date_utils import get_default_time_display from class_dashboard.dashboard_data import get_section_display_name, get_array_section_has_problem from .tools import get_units_with_due_date, title_or_url, bulk_email_is_enabled_for_course @@ -351,6 +352,9 @@ def _section_course_info(course, access): 'course_display_name': course.display_name, 'has_started': course.has_started(), 'has_ended': course.has_ended(), + 'start_date': get_default_time_display(course.start), + 'end_date': get_default_time_display(course.end), + 'num_sections': len(course.children), 'list_instructor_tasks_url': reverse('list_instructor_tasks', kwargs={'course_id': unicode(course_key)}), } diff --git a/lms/templates/instructor/instructor_dashboard_2/course_info.html b/lms/templates/instructor/instructor_dashboard_2/course_info.html index 7df0a7fb35..34a005953f 100644 --- a/lms/templates/instructor/instructor_dashboard_2/course_info.html +++ b/lms/templates/instructor/instructor_dashboard_2/course_info.html @@ -58,6 +58,16 @@ ${ section_data['course_display_name'] } +
  • + + ${ section_data['start_date'] } +
  • + +
  • + + ${ section_data['end_date'] } +
  • +
  • @@ -73,6 +83,12 @@ ${_("No")} %endif
  • + +
  • + + ${ section_data['num_sections'] } +
  • +
  • ${ section_data['grade_cutoffs'] }