Changeset 30842

Show
Ignore:
Timestamp:
22.09.2016 12:15:20 (3 years ago)
Author:
kjdon
Message:

at site and colleciton level, displayItems are now in a displayItemList, to match metadataList

Files:
1 modified

Legend:

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

    r30740 r30842  
    2121   
    2222        <xsl:choose> 
    23             <xsl:when test="$this-element/displayItem[@name='icon']"> 
     23            <xsl:when test="$this-element/displayItemList/displayItem[@name='icon']"> 
    2424              <img border="0"> 
    25                 <xsl:attribute name="src"><xsl:value-of select="$this-element/metadataList/metadata[@name='httpPath']"/>/images/<xsl:value-of select="$this-element/displayItem[@name='icon']"/></xsl:attribute> 
     25                <xsl:attribute name="src"><xsl:value-of select="$this-element/metadataList/metadata[@name='httpPath']"/>/images/<xsl:value-of select="$this-element/displayItemList/displayItem[@name='icon']"/></xsl:attribute> 
    2626                <xsl:attribute name="alt"> 
    27                   <xsl:value-of select="$this-element/displayItem[@name='name']"/> 
     27                  <xsl:value-of select="$this-element/displayItemList/displayItem[@name='name']"/> 
    2828                </xsl:attribute> 
    2929                <xsl:attribute name="title">