DS-2449 Restore template item label for Mirage 2

This commit is contained in:
Andrea Schweer
2015-05-01 11:01:34 +12:00
parent 9f25afbea3
commit 9ff7dc034d

View File

@@ -1212,7 +1212,7 @@
</div>
</xsl:template>
<xsl:template match="dri:*[count(dri:field) > 1 and dri:field[@type='button'] and count(dri:field[not(@type='button' or @type='')]) = 0]" priority="4">
<xsl:template match="dri:*[count(dri:field) > 1 and dri:field[@type='button'] and count(dri:field[not(@type='button' or @type='')]) = 0 and not(preceding-sibling::*[1][local-name()='label'])]" priority="4">
<div>
<xsl:call-template name="standardAttributes">
</xsl:call-template>