diff --git a/lms/templates/dashboard/_dashboard_course_listing.html b/lms/templates/dashboard/_dashboard_course_listing.html index ff488593506204e2e3c86af5b961f3b63681183b..17628ff53b2da62b34a18a6e15af0df5e687d697 100644 --- a/lms/templates/dashboard/_dashboard_course_listing.html +++ b/lms/templates/dashboard/_dashboard_course_listing.html @@ -48,7 +48,7 @@ from util.course import get_link_for_about_page, get_encoded_course_sharing_utm_ %> <% mode_class = course_verified_certs.get('display_mode', '') - if mode_class != '': + if mode_class: mode_class = ' ' + mode_class ; %> % else: