removing notes, and only showing course count if there are courses
authorSeth Woodworth <seth@sethish.com>
Mon, 27 Feb 2012 01:23:30 +0000 (20:23 -0500)
committerSeth Woodworth <seth@sethish.com>
Mon, 27 Feb 2012 01:59:36 +0000 (20:59 -0500)
fixes #28

public/index.html

index 3b354df33ce13c403cb189563dabf3d22d4468dc..adf6ecd6f272a2c79ba81474d3329574ebd653fb 100644 (file)
                             <div class="text-pair">
                                 <span class="school_name">${name}</span>
                                 <!-- <h4>${description}</h4>-->
-                                <span class="number_of_courses">${courses} Courses, </span>
-                                <span class="number_of_notes">27 Notes</span>
+                                {{if courses > 0}}
+                                  <span class="number_of_courses">${courses} Courses</span>
+                                {{/if}}
                             </div>
                         </a>
                     </li>