Minor style tweak to lists menu; Trying to show public lists to non-logged-in users...
authorOwen Leonard <oleonard@myacpl.org>
Thu, 31 Jan 2008 19:43:21 +0000 (13:43 -0600)
committerJoshua Ferraro <jmf@liblime.com>
Sun, 3 Feb 2008 13:22:52 +0000 (07:22 -0600)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/includes/masthead.inc

index cb9e889..253cf9c 100644 (file)
@@ -1058,9 +1058,9 @@ div.message {
        font-weight : normal;
 }
  #opac-main-search #listsmenu h4 {
-       font-size : 100%;
+       font-size : 90%;
        font-weight : bold;
-       margin : 0 .3em; 
+       margin : 0 .2em; 
  }
 
 #opac-main-search #listsmenu .bd {
@@ -1082,6 +1082,7 @@ div.message {
 
 #opac-main-search #listsmenu ul {
        border-color : #b8d0e6;
+       m
 }
 
 #container {
index d4f3f09..25086a6 100644 (file)
 <!-- TMPL_IF NAME="virtualshelves" -->
 <div id="listsmenu" class="yuimenu">
     <div class="bd">
-<!-- TMPL_IF NAME="loggedinusername" --><h4>Your Lists</h4>
+       <h4>Public Lists</h4>
                <!-- TMPL_IF NAME="barshelves" -->
                        <ul class="first-of-type">
                        <!-- TMPL_LOOP NAME="barshelvesloop" -->
-                       <li class="yuimenuitem"><a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelfnumber" -->"><!-- TMPL_VAR NAME="shelfname" --></a></li>
+                       <!-- TMPL_IF EXPR="category != 1" --><li class="yuimenuitem"><a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelfnumber" -->"><!-- TMPL_VAR NAME="shelfname" --></a></li><!-- /TMPL_IF -->
                        <!-- /TMPL_LOOP -->
                        </ul>   
                <!-- /TMPL_IF -->
+<!-- TMPL_IF NAME="loggedinusername" -->
+<h4>Your Lists</h4>
+               <!-- TMPL_IF NAME="barshelves" -->
+                       <ul class="first-of-type">
+                       <!-- TMPL_LOOP NAME="barshelvesloop" -->
+                       <!-- TMPL_IF EXPR="category == 1" --><li class="yuimenuitem"><a href="/cgi-bin/koha/opac-shelves.pl?viewshelf=<!-- TMPL_VAR NAME="shelfnumber" -->"><!-- TMPL_VAR NAME="shelfname" --></a></li><!-- /TMPL_IF -->
+                       <!-- /TMPL_LOOP -->
+                       </ul>   
+               <!-- /TMPL_IF -->
+
                        <ul class="second-of-type">
             <li class="yuimenuitem"><a class="yuimenuitemlabel" href="/cgi-bin/koha/opac-shelves.pl">Manage Lists</a></li>
         </ul>