[open-ils-commits] r88 - servres/trunk/conifer/templates

svn at svn.open-ils.org svn at svn.open-ils.org
Mon Dec 22 22:42:51 EST 2008


Author: artunit
Date: 2008-12-22 22:42:50 -0500 (Mon, 22 Dec 2008)
New Revision: 88

Modified:
   servres/trunk/conifer/templates/search_results.xhtml
Log:


Modified: servres/trunk/conifer/templates/search_results.xhtml
===================================================================
--- servres/trunk/conifer/templates/search_results.xhtml	2008-12-23 03:30:34 UTC (rev 87)
+++ servres/trunk/conifer/templates/search_results.xhtml	2008-12-23 03:42:50 UTC (rev 88)
@@ -26,7 +26,7 @@
     <!-- 
         probably need a simple css option to hide instructors and course info
     -->
-    <table py:if="instructors or courses">
+    <table py:if="instructors or courses" width="100%">
         <tr>
         <!-- instructors -->
         <td py:if="instructors" valign="top" class="topbox">
@@ -38,8 +38,9 @@
             <td>${Markup(instructor.instr_name_hl(norm_query))}</td>
             <td>foo</td>
         </tr>
-        <tr>
+        <tr py:if="instr_len > count">
         <td></td>
+        <!-- will tap into open list here -->
         <td>(more...)</td>
         </tr>
         </table>
@@ -47,14 +48,19 @@
 
         <!-- courses -->
         <td py:if="courses" valign="top" class="topbox">
-        <table>
+        <table class="topheading">
         <tr>
-        <th>Course</th>
+        <th align="left">Course</th>
         </tr>
         <tr py:for="course in courses">
             <!-- will highlight this, probably pull in dept info -->
             <td>${course.title}</td>
         </tr>
+        <tr py:if="course_len > count">
+        <td></td>
+        <!-- will tap into open list here -->
+        <td>(more...)</td>
+        </tr>
         </table>
         </td>
         </tr>



More information about the open-ils-commits mailing list