hostname without .
This commit is contained in:
parent
e37ba4993e
commit
0d8d3d0c7b
@ -67,9 +67,12 @@
|
|||||||
<xsl:when test="$scannedHost/status/@state='up'">
|
<xsl:when test="$scannedHost/status/@state='up'">
|
||||||
<div class="ui fluid mini action input info">
|
<div class="ui fluid mini action input info">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="$scannedHost/hostnames/hostname/@name">
|
<xsl:when test="substring-before($scannedHost/hostnames/hostname/@name, '.')">
|
||||||
<input type="text" value="{substring-before($scannedHost/hostnames/hostname/@name, '.')}" title="{$scannedHost/hostnames/hostname/@name} ({$scannedHost/address/@addr})" readonly="" />
|
<input type="text" value="{substring-before($scannedHost/hostnames/hostname/@name, '.')}" title="{$scannedHost/hostnames/hostname/@name} ({$scannedHost/address/@addr})" readonly="" />
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
|
<xsl:when test="$scannedHost/hostnames/hostname/@name">
|
||||||
|
<input type="text" value="{$scannedHost/hostnames/hostname/@name}" title="{$scannedHost/address/@addr}" readonly="" />
|
||||||
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<input type="text" value="{$scannedHost/address/@addr}" readonly="" />
|
<input type="text" value="{$scannedHost/address/@addr}" readonly="" />
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user