Show
Ignore:
Timestamp:
13.12.2012 10:29:01 (7 years ago)
Author:
sjm84
Message:

Add a message to the home page when there is no collections

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/home.xsl

    r25276 r26579  
    2727 
    2828        <div id="collectionLinks"> 
     29            <xsl:if test="count(collectionList/collection) = 0"> 
     30                <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'home.no_collections')"/> 
     31                <br/> 
     32            </xsl:if> 
    2933            <xsl:for-each select="collectionList/collection"> 
    3034                <gslib:collectionLinkWithImage/> 
     
    3236            <br class="clear"/> 
    3337        </div> 
    34  
    3538 
    3639        <gslib:serviceClusterList/>