mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Feature: Nicer display of <metadata>
This adds a little bit nicer display of <metadata> to the stats.xsl page and avoids broken display of <metadata> and <authentication>.
This commit is contained in:
parent
b638d3c939
commit
5f962c9bdf
@ -100,11 +100,24 @@
|
||||
<table class="yellowkeys">
|
||||
<tbody>
|
||||
<xsl:for-each select="*">
|
||||
<xsl:if test="name() != 'metadata' and name() != 'authentication'">
|
||||
<tr>
|
||||
<td><xsl:value-of select="name()" /></td>
|
||||
<td><xsl:value-of select="." /></td>
|
||||
</tr>
|
||||
</xsl:if>
|
||||
</xsl:for-each>
|
||||
<xsl:if test="metadata">
|
||||
<tr>
|
||||
<th colspan="2">Extra metadata</th>
|
||||
</tr>
|
||||
<xsl:for-each select="metadata/*">
|
||||
<tr>
|
||||
<td><xsl:value-of select="name()" /></td>
|
||||
<td><xsl:value-of select="." /></td>
|
||||
</tr>
|
||||
</xsl:for-each>
|
||||
</xsl:if>
|
||||
</tbody>
|
||||
</table>
|
||||
<xsl:if test="authentication">
|
||||
|
Loading…
Reference in New Issue
Block a user