Skip to content

Commit

Permalink
Block's inner content is always .row-fluid
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Jan 4, 2025
1 parent 0616186 commit 44b99b5
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -460,12 +460,6 @@ extension-element-prefixes="ixsl"
</xsl:template>

<!-- BLOCK -->

<!-- <xsl:template match="*[@rdf:about][rdf:type/@rdf:resource = ('&sp;Describe', '&sp;Construct', '&sp;Ask', '&sp;Select')]" mode="bs2:Row" priority="1">
<xsl:next-match>
<xsl:with-param name="class" select="'row-fluid block'"/>
</xsl:next-match>
</xsl:template>-->

<!-- resource block overrides -->
<xsl:template match="*[@rdf:about][rdf:type/@rdf:resource = ('&ldh;Object', '&ldh;View', '&ldh;GraphChart', '&ldh;ResultSetChart', '&sp;Describe', '&sp;Construct', '&sp;Ask', '&sp;Select')]" mode="bs2:Row" priority="1">
Expand Down Expand Up @@ -521,7 +515,7 @@ extension-element-prefixes="ixsl"
<xsl:next-match>
<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="class" select="'row-fluid'"/>
</xsl:next-match>
</div>
</div>
Expand Down

0 comments on commit 44b99b5

Please sign in to comment.