Changeset 34211


Ignore:
Timestamp:
2020-06-19T22:45:19+12:00 (4 years ago)
Author:
ak19
Message:
  1. Using smallicon image (home page image) instead of icon (aboutImage) variable in home page of opotiki interface. 2. Forgot to commit icon for OpenOffice Presentation.
Location:
main/trunk/model-interfaces-dev/opotiki
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/opotiki/transform/pages/home.xsl

    r34087 r34211  
    6464        <xsl:variable name="collectionName" select="displayItemList/displayItem[@name='name']"/>
    6565        <xsl:variable name="aboutImage" select="displayItemList/displayItem[@name='icon']"/>
     66        <xsl:variable name="homeImage" select="displayItemList/displayItem[@name='smallicon']"/>
    6667        <xsl:variable name="collDesc" select="displayItemList/displayItem[@name='description']"/>
    6768        <xsl:variable name="numDocs" select="metadataList/metadata[@name='numDocs']"/>
     
    6970        <h2><a href="{$library_name}/collection/{$collectionFolder}/page/about"><xsl:value-of select="$collectionName"/></a></h2>
    7071        <!-- if there is an About page image for the collection, this is displayed -->
    71         <xsl:if test="$aboutImage">
    72             <img src="sites/{$site_name}/collect/{$collectionFolder}/images/{$aboutImage}" alt="{$collectionName}" />
     72        <xsl:if test="$homeImage">
     73            <img src="sites/{$site_name}/collect/{$collectionFolder}/images/{$homeImage}" alt="{$collectionName}" />
    7374        </xsl:if>
    7475
Note: See TracChangeset for help on using the changeset viewer.