+
+
+ ${course['title']}
+
+
+
+ ${Text(_('Starts {course_start_datetime}')).format(
+ course_start_datetime=datetime.strptime(course['course_runs'][0]['start'], '%Y-%m-%dT%H:%M:%SZ').strftime('%B %-d, %Y')
+ )}
+
+
+ % if course['course_runs'][0]['pacing_type'] == "instructor_paced":
+ ${_('Instructor - Paced')}
+ % else:
+ ${_('Self - Paced')}
+ % endif
+
+
+
+ % if course['course_runs'][0]['short_description']:
+ ${course['course_runs'][0]['short_description']}
+ % endif
+
+
+ % if course['course_runs'][0]['short_description']:
+ ${course['course_runs'][0]['short_description'][:description_max_length]}
+ % if len(course['course_runs'][0]['short_description']) > description_max_length:
+ ...
+ % endif
+ % endif
+
+
+