mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-27 09:35:39 -05:00
Show course description if no concepts on homepage
This commit is contained in:
parent
7d38e9a06c
commit
453aa1d0fb
1 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue