Show course description if no concepts on homepage

This commit is contained in:
Matt Lott 2016-09-14 11:11:01 -07:00
parent 7d38e9a06c
commit 453aa1d0fb

View file

@ -257,6 +257,8 @@ block content
span.spr ,
- total += 1;
span(data-i18n="concepts." + concept)
if total === 0
span= course.get('description')
img.media-object(src="/images/pages/home/" + course.get('slug') + ".png")
h6.course-duration
span.spr(data-i18n="new_home.lesson_time")