Commit 5f962c9b authored by Philipp Schafft's avatar Philipp Schafft 🦁

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>.
parent b638d3c9
......@@ -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>
<td><xsl:value-of select="name()" /></td>
<td><xsl:value-of select="." /></td>
<th colspan="2">Extra metadata</th>
</tr>
</xsl:for-each>
<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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment