From 3386031fead77a439d3d9a7a3d3abca77a7fa155 Mon Sep 17 00:00:00 2001 From: Bridger Maxwell Date: Thu, 28 Jun 2012 12:58:04 -0400 Subject: [PATCH] Moved more pieces of the about page to live in the course data directory. --- lms/djangoapps/courseware/courses.py | 3 +++ lms/templates/portal/course_about.html | 17 ++--------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/lms/djangoapps/courseware/courses.py b/lms/djangoapps/courseware/courses.py index 2475ce72e8..983e2f5eaf 100644 --- a/lms/djangoapps/courseware/courses.py +++ b/lms/djangoapps/courseware/courses.py @@ -67,6 +67,9 @@ class Course(namedtuple('Course', _FIELDS)): - more_info """ + # Many of these are stored as html files instead of some semantic markup. This can change without effecting + # this interface when we find a good format for defining so many snippets of text/html. + if section_key in ['short_description', 'description', 'key_dates', 'video', 'course_staff_short', 'course_staff_extended', 'requirements', 'syllabus', 'textbook', 'faq', 'more_info']: try: diff --git a/lms/templates/portal/course_about.html b/lms/templates/portal/course_about.html index 3eeb272f43..43b0c6bea2 100644 --- a/lms/templates/portal/course_about.html +++ b/lms/templates/portal/course_about.html @@ -47,7 +47,7 @@
- + ${course.get_about_section("video")}
@@ -98,20 +98,7 @@

Frequently Asked Questions

-
    -
  • What is the format of the class? -

    The course will consist of 24 lectures, each lasting 50 minutes. There will be regular assignments consisting of map tests and short essays.

    -
  • -
  • Are there any prerequisites? -

    No - anyone and everyone is welcome to take this course.

    -
  • -
  • What textbook should I buy? -

    Although the lectures are designed to be self-contained, we recommend (but do not require) that students refer to the book Worlds Together, Worlds Apart: A History of the World: From 1000 CE to the Present (W W Norton, 3rd edition) -- Volume II, which was written specifically for this course.

    -
  • -
  • Does Harvard award credentials or reports regarding my work in this course? -

    Princeton does not award credentials or issue reports for student work in this course. However, Coursera could maintain a record of your score on the assessments and, with your permission, verify that score for authorized parties.

    -
  • -
+ ${course.get_about_section("faq")}