Changeset 13609


Ignore:
Timestamp:
2007-01-15T09:50:46+13:00 (15 years ago)
Author:
nzdl
Message:

display a background image for the collections that don't have a collection image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/default/transform/home.xsl

    r13581 r13609  
    3131    <xsl:for-each select="collection">
    3232      <li>
    33       <a href="{$library_name}?a=p&amp;sa=about&amp;c={@name}">
     33     
    3434           <xsl:choose>
    3535              <xsl:when test="displayItem[@name='icon']">
     36              <a href="{$library_name}?a=p&amp;sa=about&amp;c={@name}">
    3637                <img>
    3738               <xsl:attribute name="src">
     
    4243               </xsl:attribute>
    4344             </img>
     45               </a> 
    4446          </xsl:when>
    4547              <xsl:otherwise>
    46                    <xsl:value-of select="displayItem[@name='name']"/>
     48               <a class="noimage" href="{$library_name}?a=p&amp;sa=about&amp;c={@name}"> 
     49                 <xsl:value-of select="displayItem[@name='name']"/>
     50               </a>
    4751              </xsl:otherwise>
    4852           </xsl:choose>         
    49       </a>
     53     
    5054       </li>
    5155    </xsl:for-each>
Note: See TracChangeset for help on using the changeset viewer.