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

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 @@
<thead>
<tr>
<td>IP</td>
<td>Username</td>
<td>Role</td>
<td>Sec. connected</td>
<td>User Agent</td>
<td>Action</td>
......@@ -64,12 +66,9 @@
<xsl:variable name = "themount"><xsl:value-of select="@mount" /></xsl:variable>
<xsl:for-each select="listener">
<tr>
<td>
<xsl:value-of select="ip" />
<xsl:if test="username">
(<xsl:value-of select="username" />)
</xsl:if>
</td>
<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>
......
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