Merge pull request #204 from MITx/dormsbee/at_a_glance

Add some more info the the "About" Course page "at a glance" section
This commit is contained in:
bridger
2012-07-18 10:39:34 -07:00
2 changed files with 18 additions and 4 deletions

View File

@@ -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')