Ignore:
Timestamp:
2019-06-22T11:07:07+12:00 (5 years ago)
Author:
davidb
Message:

Introduction of fix-to-the-side option for berry-basket, similar to TOC feature in documents

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/heritage-nz/transform/pages/classifier.xsl

    r33074 r33200  
    4242      <div id="rightSidebar">
    4343    <xsl:comment>Filler needed for div</xsl:comment>
     44    <xsl:call-template name="viewOptions"/>
    4445    <xsl:if test="$berryBasketOn or ($documentBasketOn and (util:contains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:contains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor)))">
    4546      <xsl:if test="$berryBasketOn">
    46         <xsl:call-template name="viewOptions"/>
    4747        <!-- show the berry basket if it's turned on -->
    4848        <div class="tableOfContentsContainer" style="position:relative; z-index: 2;"> <!-- **** -->
     
    5353     
    5454      <xsl:if test="$documentBasketOn">
    55       <gslib:documentBasket/>
    56       <xsl:text> </xsl:text>
     55        <gslib:documentBasket/>
     56        <xsl:text> </xsl:text>
    5757      </xsl:if>
    5858    </xsl:if>
     
    129129
    130130          <!-- Floating TOC on/off button -->
     131      <xsl:if test="$berryBasketOn">
    131132        <li id="floatingTOCOptions">
    132133<!--
     
    135136          <xsl:attribute name="title">Fix the berry basket to the right side of the screen</xsl:attribute>
    136137          <img id="floatTOCToggleImage">
    137         <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'float_toc_image')"/></xsl:attribute>
     138        <xsl:attribute name="src"><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'float_berrybasket_image')"/></xsl:attribute>
    138139          </img>
    139140
     
    166167          </script>
    167168        </xsl:if>
     169      </xsl:if>
    168170      </ul>
    169171      <div style="clear:both;"><xsl:text> </xsl:text></div>
Note: See TracChangeset for help on using the changeset viewer.