Skip to content

Commit

Permalink
Pass $show-row-block-controls client-side
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Jan 3, 2025
1 parent 9bd77e8 commit d5982f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ exclude-result-prefixes="#all"
<xsl:with-param name="mode" select="$mode"/>
<xsl:with-param name="show-edit-button" select="$show-edit-button" tunnel="yes"/>
<xsl:with-param name="object-metadata" select="$object-metadata" tunnel="yes"/>
<xsl:with-param name="show-row-block-controls" select="false()"/> <!-- blocks nested within ldh:Object do not show their own progress bars -->
</xsl:apply-templates>
</xsl:variable>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,6 @@ extension-element-prefixes="ixsl"
<xsl:with-param name="id" select="()"/> <!-- only block <div>s have @id-->
<xsl:with-param name="about" select="()"/> <!-- only block <div>s have @about -->
<xsl:with-param name="class" select="if (rdf:type/@rdf:resource = '&ldh;Object') then 'row-fluid block' else 'row-fluid'"/> <!-- only ldh:Object can nest blocks -->
<xsl:with-param name="show-row-block-controls" select="if (rdf:type/@rdf:resource = '&ldh;Object') then false() else true()"/> <!-- blocks nested within ldh:Object do not show their own progress bars -->
</xsl:next-match>
</div>
</div>
Expand Down

0 comments on commit d5982f4

Please sign in to comment.