From b494ab7dbade5d149d228537af96d5f658bd715e Mon Sep 17 00:00:00 2001 From: Jesse Shapiro Date: Tue, 29 Aug 2017 15:45:00 -0400 Subject: [PATCH] Show advertised start date on course details page --- lms/templates/courseware/course_about.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lms/templates/courseware/course_about.html b/lms/templates/courseware/course_about.html index 8ec15898e2..3ceb32f663 100644 --- a/lms/templates/courseware/course_about.html +++ b/lms/templates/courseware/course_about.html @@ -7,6 +7,7 @@ from django.conf import settings from edxmako.shortcuts import marketing_link from openedx.core.djangolib.markup import HTML from openedx.core.lib.courses import course_image_url +from six import string_types %> <%inherit file="../main.html" /> @@ -221,12 +222,12 @@ from openedx.core.lib.courses import course_image_url
  • ${_("Course Number")}

    ${course.display_number_with_default | h}
  • % if not course.start_date_is_still_default: <% - course_start_date = course.start + course_start_date = course.advertised_start or course.start %>
  • ${_("Classes Start")}

    - % if isinstance(course_start_date, str): + % if isinstance(course_start_date, string_types): ${course_start_date} % else: <%