diff --git a/common/lib/xmodule/xmodule/course_module.py b/common/lib/xmodule/xmodule/course_module.py index e00e62a7c0..0d5fbcf55b 100644 --- a/common/lib/xmodule/xmodule/course_module.py +++ b/common/lib/xmodule/xmodule/course_module.py @@ -85,7 +85,8 @@ class CourseDescriptor(SequenceDescriptor): # TODO: Remove number, instructors from this list if section_key in ['short_description', 'description', 'key_dates', 'video', 'course_staff_short', 'course_staff_extended', - 'requirements', 'syllabus', 'textbook', 'faq', 'more_info', 'number', 'instructors', 'overview']: + 'requirements', 'syllabus', 'textbook', 'faq', 'more_info', 'number', 'instructors', 'overview', + 'effort', 'end_date', 'prerequisites']: try: with self.system.resources_fs.open(path("about") / section_key + ".html") as htmlFile: return htmlFile.read().decode('utf-8') diff --git a/lms/templates/portal/course_about.html b/lms/templates/portal/course_about.html index 930c770b91..cc9b60caba 100644 --- a/lms/templates/portal/course_about.html +++ b/lms/templates/portal/course_about.html @@ -72,10 +72,23 @@
    -
  1. Classes Start

    ${course.start_date_text}
  2. - ##
  3. Final Exam

    12/09/12
  4. - ##
  5. Course Length

    15 weeks
  6. Course Number

    ${course.number}
  7. +
  8. Classes Start

    ${course.start_date_text}
  9. + + ## End date should come from course.xml, but this is a quick hack + % if course.get_about_section("end_date"): +
  10. Classes End

    ${course.get_about_section("end_date")}
  11. + % endif + + % if course.get_about_section("effort"): +
  12. Estimated Effort

    ${course.get_about_section("effort")}
  13. + % endif + + % if course.get_about_section("prerequisites"): +
  14. Prerequisites

    ${course.get_about_section("prerequisites")}
  15. + % endif + + ##
  16. Course Length

    15 weeks