Commit ddb58bfe authored by Philipp Schafft's avatar Philipp Schafft 🦁
Browse files

Feature: Display username and role in listener listing

This adds display of role name and updates display of username in
listener listing of mount points on admin interface.
parent bfd94652
......@@ -55,6 +55,8 @@
<td>Sec. connected</td>
<td>User Agent</td>
......@@ -64,12 +66,9 @@
<xsl:variable name = "themount"><xsl:value-of select="@mount" /></xsl:variable>
<xsl:for-each select="listener">
<xsl:value-of select="ip" />
<xsl:if test="username">
(<xsl:value-of select="username" />)
<td><xsl:value-of select="ip" /></td>
<td><xsl:value-of select="username" /></td>
<td><xsl:value-of select="role" /></td>
<td><xsl:value-of select="connected" /></td>
<td><xsl:value-of select="useragent" /></td>
<td><a href="killclient.xsl?mount={$themount}&amp;id={id}">Kick</a></td>
Supports Markdown
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