@@ -461,11 +461,6 @@ extension-element-prefixes="ixsl"
461461 <xsl : param name =" class" select =" 'row-fluid block'" as =" xs:string?" />
462462 <xsl : param name =" about" select =" @rdf:about" as =" xs:anyURI?" />
463463 <xsl : param name =" typeof" select =" rdf:type/@rdf:resource/xs:anyURI(.)" as =" xs:anyURI*" />
464- <!--
465- <xsl:param name="left-class" select="'left-nav span2'" as="xs:string?"/>
466- <xsl:param name="main-class" select="'main span7'" as="xs:string?"/>
467- <xsl:param name="right-class" select="'right-nav span3'" as="xs:string?"/>
468- -->
469464 <xsl : param name =" draggable" select =" $acl:mode = '&acl; Write'" as =" xs:boolean?" />
470465
471466 <xsl : apply-templates select =" key('resources', .)" mode =" bs2:RowContentHeader" />
@@ -493,9 +488,11 @@ extension-element-prefixes="ixsl"
493488 <div class =" span12 progress progress-striped active" >
494489 <div class =" row-fluid row-block-controls" style =" position: relative; top: 30px; margin-top: -30px; z-index: 1;" >
495490 <div class =" span12" >
496- <button type =" button" class =" btn btn-edit pull-right" >
497- <xsl : apply-templates select =" key('resources', '∾ EditMode', document(ac:document-uri('∾ ')))" mode =" ac:label" />
498- </button >
491+ <xsl : if test =" $acl:mode = '&acl; Write'" >
492+ <button type =" button" class =" btn btn-edit pull-right" >
493+ <xsl : apply-templates select =" key('resources', '∾ EditMode', document(ac:document-uri('∾ ')))" mode =" ac:label" />
494+ </button >
495+ </xsl : if >
499496 <div class =" row-fluid" >
500497 <div style =" width: 50%;" class =" span12 bar" ></div >
501498 </div >
@@ -548,9 +545,11 @@ extension-element-prefixes="ixsl"
548545 <div class =" span12" >
549546 <div class =" row-fluid row-block-controls" style =" position: relative; top: 30px; margin-top: -30px; z-index: 1;" >
550547 <div class =" span12" >
551- <button type =" button" class =" btn btn-edit pull-right" >
552- <xsl : apply-templates select =" key('resources', '∾ EditMode', document(ac:document-uri('∾ ')))" mode =" ac:label" />
553- </button >
548+ <xsl : if test =" $acl:mode = '&acl; Write'" >
549+ <button type =" button" class =" btn btn-edit pull-right" >
550+ <xsl : apply-templates select =" key('resources', '∾ EditMode', document(ac:document-uri('∾ ')))" mode =" ac:label" />
551+ </button >
552+ </xsl : if >
554553 </div >
555554 </div >
556555
0 commit comments