Changeset 33682

Show
Ignore:
Timestamp:
15.11.2019 18:45:47 (3 weeks ago)
Author:
davidb
Message:

Changes made around the time of the launch

Location:
main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/transform/pages
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/transform/pages/about.xsl

    r33364 r33682  
    3131  <xsl:template name="coll-description"> 
    3232    <xsl:variable name="numDocs" select="/page/pageResponse/collection/metadataList/metadata[@name='numDocs']"/> 
    33      
     33 
    3434    <figure style="float: right;"> 
    3535      <style> #gotohelp:hover { background-color: #662020;}</style> 
     
    3737    <a href="{$library_name}/collection/{$collName}/page/help">Help</a> 
    3838      </div> 
     39<!--     
    3940      <img src="https://www.heritage.org.nz/-/media/heritage/images/protect/archaeology/digital-library-page.jpg?useCustomFunctions=1&amp;mw=920" width="220" alt="Archaeological digital library" /> 
     41--> 
    4042    </figure> 
    4143 
     44<!-- 
    4245    <h1>Archaeological Reports Digital Library</h1> 
    4346 
     
    4851      library provides searching and browsing access to these 
    4952 
    50 <!-- 
     53< ! - - 
    5154      <gsf:metadata type="collection" name="numDocs"/>  
    52 --> 
    53 <!-- 
     55- - > 
     56< ! - - 
    5457      <xsl:value-of select="$numDocs"/> 
    55 --> 
     58- - > 
    5659      volumes, which date from the 
    57       early 1970s to the present day. 
     60      early 1950s to the present day. 
    5861    </p> 
    5962     
    60  
     63--> 
     64    <style> 
     65      #gs_content { min-height: 630px; } 
     66    </style> 
    6167    <p> 
    6268      You can locate and download reports through the search interface: 
  • main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/transform/pages/classifier.xsl

    r33239 r33682  
    6060    <li> 
    6161      <xsl:attribute name="class"> 
    62         <xsl:if test="starts-with($selectedNode, @nodeID) or (not(contains($selectedNode, '.')) and @nodeID = concat($selectedNode, '.1'))">selectedHorizontalClassifierNode </xsl:if> 
     62        <xsl:if test="$selectedNode = @nodeID or starts-with($selectedNode, concat(@nodeID, '.')) or (not(contains($selectedNode, '.')) and @nodeID = concat($selectedNode, '.1'))">selectedHorizontalClassifierNode </xsl:if> 
    6363        <xsl:text>horizontalClassifierNode</xsl:text> 
    6464      </xsl:attribute> 
  • main/trunk/model-sites-dev/heritage-nz/collect/pdf-reports/transform/pages/help.xsl

    r33363 r33682  
    3535    <xsl:if test="/page/pageResponse/collection/serviceList/service[@type='query']"> 
    3636      <xsl:call-template name="searchingHelp"/> 
    37       <xsl:call-template name="searchParamsHelp"/> 
     37<!--      <xsl:call-template name="searchParamsHelp"/>--> 
    3838      <xsl:call-template name="searchResultsHelp"/> 
    3939    </xsl:if> 
     
    4444      <xsl:call-template name="favouriteBasketHelp"/> 
    4545    </xsl:if> 
    46     <xsl:if test="/page/pageResponse/interfaceOptions/option[@name='berryBasket']/@value='true'"> 
    47       <xsl:call-template name="berryBasketHelp"/> 
    48     </xsl:if> 
    49     <xsl:if test="//format/gsf:option[@name='RSS']/@value= 'true'"> 
    50       <xsl:call-template name="rssHelp"/> 
    51     </xsl:if> 
     46    <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.downloading')"/></h3><br/> 
     47    <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.downloading_general')"/> 
    5248  </xsl:template> 
    5349 
     
    5753    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.browsing_general')"/></p> 
    5854 
    59     <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.browsing_extra')"/></p> 
     55    <p><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceTextWithDOM($help_interface_name, /page/@lang, 'help.browsing_extra', $bookshelf_icon, $plus_icon)"/></p> 
    6056 
    6157<!-- *** 
     
    7672  </xsl:template> 
    7773 
     74  <xsl:template name="searchingHelp"> 
     75    <h3><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searching_title')"/></h3><br/> 
     76    <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searching_quick')"/><br/><br/> 
     77    <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searching_more')"/><br/><br/> 
     78    <h3><xsl:value-of select="/page/pageResponse/collection/serviceList/service[@name='AdvancedFieldQuery']/displayItem[@name='name']"/></h3><br/> 
     79    <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searching_adv')"/><br/><br/> 
     80       <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.searchparams_general')"/><br/> 
     81       <ul> 
     82    <xsl:for-each select="/page/pageResponse/collection/serviceList/service[@name='AdvancedFieldQuery']/paramList/param[@name = 'sortBy' or @name= 'sortOrder']"> 
     83      <xsl:variable name="pname">help.sp_<xsl:value-of select="@name"/></xsl:variable> 
     84      <li><b><xsl:value-of select="displayItem[@name='name']"/>: </b><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, $pname)"/></li> 
     85    </xsl:for-each> 
     86    <li><b><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.sp_combineParam')"/>: </b><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.sp_combine')"/></li> 
     87      <li><b><xsl:value-of disable-output-escaping="yes" select="util:getGenericText('ServiceRack', /page/@lang, 'param.hitsPerPage')"/>: </b><xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($help_interface_name, /page/@lang, 'help.sp_hitsPerPage')"/></li> 
     88       </ul> 
     89  </xsl:template> 
     90 
    7891</xsl:stylesheet>