From 99c20b88fae7aae3460b045936c7a9ea4eec13d3 Mon Sep 17 00:00:00 2001 From: Matt Lott Date: Thu, 8 Oct 2015 12:27:53 -0700 Subject: [PATCH] Don't show seat count when enrolling in free courses --- app/templates/courses/course-enroll.jade | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/templates/courses/course-enroll.jade b/app/templates/courses/course-enroll.jade index 056309c2e..5806b63e7 100644 --- a/app/templates/courses/course-enroll.jade +++ b/app/templates/courses/course-enroll.jade @@ -67,11 +67,12 @@ block content else span.spr(data-i18n="courses.creating_for") strong.spr #{selectedCourseTitle} - span.spr(data-i18n="courses.for") - strong - span #{seats} - span.spl(data-i18n="courses.students1") - span . + if price > 0 + span.spr(data-i18n="courses.for") + strong + span #{seats} + span.spl(data-i18n="courses.students1") + span #{'.'} p(data-i18n="courses.receive_code") p.center if price > 0