diff --git a/lms/djangoapps/courseware/courses.py b/lms/djangoapps/courseware/courses.py index f9467cfa91..4383396678 100644 --- a/lms/djangoapps/courseware/courses.py +++ b/lms/djangoapps/courseware/courses.py @@ -101,6 +101,7 @@ def get_course_about_section(course, section_key): - textbook - faq - more_info + - ocw_links """ # Many of these are stored as html files instead of some semantic @@ -112,7 +113,7 @@ def get_course_about_section(course, section_key): 'course_staff_short', 'course_staff_extended', 'requirements', 'syllabus', 'textbook', 'faq', 'more_info', 'number', 'instructors', 'overview', - 'effort', 'end_date', 'prerequisites']: + 'effort', 'end_date', 'prerequisites', 'ocw_links']: try: fs = course.system.resources_fs diff --git a/lms/templates/portal/course_about.html b/lms/templates/portal/course_about.html index bc15e16f5e..a74bf1a9ef 100644 --- a/lms/templates/portal/course_about.html +++ b/lms/templates/portal/course_about.html @@ -152,6 +152,9 @@ + + ## For now, ocw links are the only thing that goes in additional resources + % if get_course_about_section(course, "ocw_links"):

Additional Resources

@@ -159,13 +162,10 @@

MITOpenCourseware

- + ${get_course_about_section(course, "ocw_links")}
+ %endif