improved display of courses without course codes.
authorgfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sun, 8 Mar 2009 01:57:06 +0000 (01:57 +0000)
committergfawcett <gfawcett@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Sun, 8 Mar 2009 01:57:06 +0000 (01:57 +0000)
git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@146 6d9bc8c9-1ec2-4278-b937-99fde70a366f

conifer/templates/components/course.xhtml

index c0a7ef2..43375c9 100644 (file)
@@ -20,7 +20,7 @@ searchtext = _('search this course...')
     <div id="coursebanner">
       <div class="deptident">${course.department}</div>
       ${course_search(course)}
-      <h1><a href="${course.course_url()}">${course.code}: ${course.title}</a></h1>
+      <h1><a href="${course.course_url()}"><span py:if="course.code">${course.code}: </span>${course.title}</a></h1>
     </div>
   </div>