Changeset 37566 for documentation


Ignore:
Timestamp:
2023-03-24T21:50:21+13:00 (13 months ago)
Author:
anupama
Message:

A large part of a prepared format statement was missing, copying this in from the Jenny's tutorial text (which works).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorial_sample_files/interfaces/aybara/interface.txt

    r37565 r37566  
    237237
    238238
    239 " select="@name"/>
     239<xsl:template name="navBar">
     240<xsl:choose>
     241<xsl:when test="page/pageResponse/collection">
     242<xsl:variable name="count" select="count(/page/pageResponse/collection/serviceList/service[@name='ClassifierBrowse']/classifierList/classifier)"/>
     243<xsl:variable name="currentPage" select="page/pageRequest/@fullURL"/>
     244
     245<li><a href="{$library_name}">Home</a></li>
     246<li>
     247<xsl:if test="page/pageRequest/@subaction='about'"><xsl:attribute name="class">active</xsl:attribute></xsl:if>
     248<a href="{$library_name}/collection/{$collNameChecked}/page/about">About</a>
     249</li>
     250
     251<xsl:choose>
     252<xsl:when test="$count > 3">
     253<li><a href="{$currentPage}">Browse</a>
     254<ul>
     255<xsl:call-template name="Browsing"/>
     256</ul>
     257</li>
     258</xsl:when>
     259<xsl:otherwise>
     260<xsl:call-template name="Browsing"/>
     261</xsl:otherwise>
     262</xsl:choose>
     263
     264<xsl:if test="/page/pageResponse/collection/serviceList/service/@type='query'">
     265<li><a href="{$currentPage}">Search</a>
     266<ul>
     267<xsl:for-each select="/page/pageResponse/collection/serviceList/service[@type='query']">
     268<xsl:variable name="search" select="@name"/>
    240269<xsl:variable name="search_name" select="displayItem[@name='name']"/>
    241270<li><a href="{$library_name}/collection/{$collNameChecked}/search/{$search}"><xsl:value-of select="$search_name"/></a></li>
Note: See TracChangeset for help on using the changeset viewer.