Skip to content

Commit

Permalink
museumsvictoria#282 update: 'showevent' attribute support for <row> w…
Browse files Browse the repository at this point in the history
…ithin <grid>
  • Loading branch information
justparking authored and scroix committed Apr 1, 2024
1 parent 9ac2865 commit b737f0f
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions nodel-webui-js/src/templates.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,25 @@
<table class="btn-grid">
<xsl:for-each select="row">
<tr>
<xsl:attribute name="class">
<xsl:if test="@class">
<xsl:text> </xsl:text>
<xsl:value-of select="@class"/>
</xsl:if>
<xsl:if test="@showevent">
<xsl:text> sect</xsl:text>
</xsl:if>
</xsl:attribute>
<xsl:if test="@showevent">
<xsl:attribute name="data-showevent">
<xsl:value-of select="@showevent"/>
</xsl:attribute>
<xsl:if test="@showvalue">
<xsl:attribute name="data-showarg">
<xsl:value-of select="@showvalue"/>
</xsl:attribute>
</xsl:if>
</xsl:if>
<xsl:for-each select="cell">
<td>
<xsl:apply-templates />
Expand Down

0 comments on commit b737f0f

Please sign in to comment.