Ignore:
Timestamp:
2022-02-22T14:31:07+13:00 (2 years ago)
Author:
kjdon
Message:

got rid of berry option

File:
1 edited

Legend:

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

    r36038 r36084  
    7979    <xsl:for-each select="pageResponse/documentNodeList/documentNode">
    8080      <tr id="div{@nodeID}" class="document">
    81       <!-- The berry/favourite (optional) -->
    82         <td valign="top">
    83           <xsl:if test="/page/pageResponse/interfaceOptions/option[@name = 'berryBasket']/@value = 'true'">
    84                 <xsl:call-template name="documentBerryForClassifierOrSearchPage"/>
    85           </xsl:if>
    86           <xsl:if test="/page/pageResponse/interfaceOptions/option[@name = 'favouriteBasket']/@value = 'true'">
    87               <xsl:call-template name="documentFavouriteForClassifierOrSearchPage"/>
    88           </xsl:if>
    89         </td>
     81            <!-- the favourites star-->
     82            <xsl:if test="$favouriteBasketOn">
     83              <td valign="top">
     84                <xsl:call-template name="documentFavouriteForClassifierOrSearchPage"/>
     85              </td>
     86            </xsl:if>
    9087
    9188      <!-- The node contents -->
Note: See TracChangeset for help on using the changeset viewer.