Changeset 28274 for main


Ignore:
Timestamp:
2013-09-12T16:49:36+12:00 (11 years ago)
Author:
sjm84
Message:

Don't do the metadata table unless docEdit is 1

File:
1 edited

Legend:

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

    r28232 r28274  
    188188            </xsl:choose>
    189189       
    190             <xsl:if test="/page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' 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))">
     190            <xsl:if test="/page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' and /page/pageRequest/paramList/param[@name='docEdit']/@value = '1'  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))">
    191191                <table id="meta{@nodeID}">
    192192                    <xsl:attribute name="style">
Note: See TracChangeset for help on using the changeset viewer.