Correcting "Your Lists" to display properly when no lists exist.
authorChris Nighswonger <chris.nighswonger@liblime.com>
Fri, 20 Jun 2008 22:48:15 +0000 (17:48 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Fri, 20 Jun 2008 22:55:52 +0000 (17:55 -0500)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/opac-tmpl/prog/en/modules/opac-shelves.tmpl

index c744352..60cb852 100644 (file)
@@ -194,9 +194,9 @@ $.tablesorter.addParser({
                <!-- /TMPL_IF -->
         
                <!-- TMPL_IF NAME="loggedinusername" -->
-        <table>
-        <tr><th>List Name</th><th>Contents</th><th>Sort by</th><th>Type</th><th>&nbsp;</th></tr>
             <!-- TMPL_IF NAME="shelveslooppriv" -->
+                       <table>
+                       <tr><th>List Name</th><th>Contents</th><th>Sort by</th><th>Type</th><th>&nbsp;</th></tr>
                 <!-- TMPL_LOOP NAME="shelveslooppriv" -->
                     <!-- TMPL_IF NAME="toggle" --><tr class="highlight"><!--TMPL_ELSE--><tr><!-- /TMPL_IF -->
         <td><a href="opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelf" -->"><!-- TMPL_VAR NAME="shelfname" ESCAPE="html"  --></a></td>