Commit d711ea15 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Feature: Use /icestats/modules/module even if it's just within an report XML extention

parent d0efb73a
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<ul> <ul>
<li class="on"><a href="/admin/stats.xsl">Administration</a></li> <li class="on"><a href="/admin/stats.xsl">Administration</a></li>
<li><a href="/admin/listmounts.xsl">Mountpoint list</a></li> <li><a href="/admin/listmounts.xsl">Mountpoint list</a></li>
<xsl:for-each select="/icestats/modules/module"> <xsl:for-each select="(/report/extension | /)/icestats/modules/module">
<xsl:if test="@management-url and @management-title"> <xsl:if test="@management-url and @management-title">
<li><a href="{@management-url}"><xsl:value-of select="@management-title" /></a></li> <li><a href="{@management-url}"><xsl:value-of select="@management-title" /></a></li>
</xsl:if> </xsl:if>
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