Changeset 28625

Show
Ignore:
Timestamp:
14.11.2013 14:39:48 (6 years ago)
Author:
jlwhisler
Message:

Commented out the services descriptions list that appears on the about page. It would only appear if there was a service other than browse, query, retrieve or OAI type (For instance, it would display when you have a Phind classifier). Yet, it would list all the query services and an outdated browse link, and the only other service types it would display are applet and processes. All of these services have either a tab or button that is accessible on every page in the collection, making this list a bit redundant.

Files:
1 modified

Legend:

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

    r28229 r28625  
    457457  <xsl:template match="collection|serviceCluster"> 
    458458    <xsl:value-of select="displayItem[@name='description']" disable-output-escaping="yes"/> 
    459     <xsl:apply-templates select="serviceList"> 
     459<!-- Uncomment this section if you want the collection service links and their descriptions to appear --> 
     460    <!--<xsl:apply-templates select="serviceList"> 
    460461      <xsl:with-param name="collName" select="$collName"/> 
    461     </xsl:apply-templates> 
     462    </xsl:apply-templates>--> 
    462463  </xsl:template> 
    463464   
    464465  <xsl:template match="serviceList">     
    465466    <xsl:param name="collName"/> 
    466     <xsl:if test="service[not(@type = 'query' or @type = 'browse' or @type = 'retrieve' or @type = 'oai')]"> 
    467467        <h3> 
    468468          <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.services')"/> 
     
    485485                <xsl:choose> 
    486486                  <xsl:when test="@type='query'">q</xsl:when> 
    487                   <xsl:when test="@type='browse'">b</xsl:when> 
    488487                  <xsl:when test="@type='process'">pr</xsl:when> 
    489488                  <xsl:when test="@type='applet'">a</xsl:when> 
     
    505504          </div> 
    506505        </xsl:if> 
    507     </xsl:if> 
     506 
    508507  </xsl:template> 
    509508