Changeset 37706


Ignore:
Timestamp:
2023-04-23T22:41:52+12:00 (12 months ago)
Author:
davidb
Message:

webswing GLI now available by default on home page, thanks to Kath's work requiring users to log in to use Webswing GLI

File:
1 edited

Legend:

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

    r37598 r37706  
    4848        </span>
    4949       
    50             <div style="clear: both; padding-top: 4px; padding-bottom: 4px;"><hr/></div>
    51         <xsl:variable name="siteDesc"><xsl:choose><xsl:when test="$groupPath != ''"><gslib:groupDescription path="{$groupPath}"/></xsl:when><xsl:otherwise><gslib:siteDescription/></xsl:otherwise></xsl:choose></xsl:variable>
    52         <xsl:if test="$siteDesc != ''">
    53           <xsl:value-of select="$siteDesc"/>
    54           <div style="clear: both; padding-top: 4px; padding-bottom: 4px;"><hr/></div>
    55         </xsl:if>
     50        <xsl:call-template name="homePageDescription"/>
     51       
    5652        <gslib:serviceClusterList/>
    5753
     
    7369        -->
    7470       
    75         <!--
     71        <gslib:webswingGLILink/><br/><br/>     
     72       
    7673        <gslib:oaipmhServerLink/><br/><br/>
    77         -->
    78 
    7974
    8075        <gslib:aboutGreenstoneLink/><br/>
     
    9893    </xsl:template>
    9994
     95
     96    <xsl:template name="homePageDescription">
     97      <div style="clear: both; padding-top: 4px; padding-bottom: 4px;"><hr/></div>
     98      <xsl:variable name="siteDesc"><xsl:choose><xsl:when test="$groupPath != ''"><gslib:groupDescription path="{$groupPath}"/></xsl:when><xsl:otherwise><gslib:siteDescription/></xsl:otherwise></xsl:choose></xsl:variable>
     99      <xsl:if test="$siteDesc != ''">
     100        <xsl:value-of select="$siteDesc"/>
     101        <div style="clear: both; padding-top: 4px; padding-bottom: 4px;"><hr/></div>
     102      </xsl:if>
     103    </xsl:template>
     104   
    100105</xsl:stylesheet>
    101106
Note: See TracChangeset for help on using the changeset viewer.