diff --git a/lms/templates/course.html b/lms/templates/course.html index 5ae2774d79..8ff8b44695 100644 --- a/lms/templates/course.html +++ b/lms/templates/course.html @@ -19,27 +19,27 @@ from django.core.urlresolvers import reverse ${course.display_number_with_default} ${course.display_name_with_default} - <% - if course.start is not None: - course_date_string = course.start.strftime('%Y-%m-%dT%H:%M:%S%z') - else: - course_date_string = '' - %> - % if isinstance(course_start_date, str): - + <% + if course.start is not None: + course_date_string = course.start.strftime('%Y-%m-%dT%H:%M:%S%z') + else: + course_date_string = '' + %> + % if course.advertised_start is not None: + % else: % endif - +