mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Feature: Display error code if known
This commit is contained in:
parent
4e7985c168
commit
bc6a960315
@ -10,6 +10,9 @@
|
||||
<h3>Response</h3>
|
||||
<h4>Message</h4>
|
||||
<p><xsl:value-of select="state/text" /></p>
|
||||
<xsl:if test="state/@definition">
|
||||
<p>Error code: <xsl:value-of select="state/@definition" /></p>
|
||||
</xsl:if>
|
||||
</div>
|
||||
</xsl:for-each>
|
||||
</div>
|
||||
|
@ -5,6 +5,11 @@
|
||||
<xsl:text>Report:
</xsl:text>
|
||||
<xsl:value-of select="state/text" />
|
||||
<xsl:text>
</xsl:text>
|
||||
<xsl:if test="state/@definition">
|
||||
<xsl:text>Error code: </xsl:text>
|
||||
<xsl:value-of select="state/@definition" />
|
||||
<xsl:text>
</xsl:text>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
Loading…
Reference in New Issue
Block a user