Changeset 25932

Show
Ignore:
Timestamp:
11.07.2012 13:26:53 (7 years ago)
Author:
sjm84
Message:

We don't want the table of contents displayed on simple documents

Files:
1 modified

Legend:

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

    r25922 r25932  
    1313            <xsl:call-template name="displayCoverImage"/> 
    1414            <xsl:call-template name="viewOptions"/> 
    15             <xsl:call-template name="displayTOC"/> 
     15 
     16            <xsl:if test="@docType != 'simple'"> 
     17                <xsl:call-template name="displayTOC"/> 
     18            </xsl:if> 
    1619        </div> 
    1720    </xsl:template>