[Openvas-commits] r11940 - in trunk/gsa: . src/html
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Nov 2 15:44:09 CET 2011
Author: mattm
Date: 2011-11-02 15:44:08 +0100 (Wed, 02 Nov 2011)
New Revision: 11940
Modified:
trunk/gsa/ChangeLog
trunk/gsa/src/html/omp.xsl
Log:
* src/html/omp.xsl (nvt): Put each tag neatly on a line.
Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog 2011-11-02 14:34:35 UTC (rev 11939)
+++ trunk/gsa/ChangeLog 2011-11-02 14:44:08 UTC (rev 11940)
@@ -1,5 +1,9 @@
2011-11-02 Matthew Mundell <matthew.mundell at greenbone.net>
+ * src/html/omp.xsl (nvt): Put each tag neatly on a line.
+
+2011-11-02 Matthew Mundell <matthew.mundell at greenbone.net>
+
* src/html/oap.xsl: Remove "Back to" from all "Back to" links.
2011-11-02 Matthew Mundell <matthew.mundell at greenbone.net>
Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl 2011-11-02 14:34:35 UTC (rev 11939)
+++ trunk/gsa/src/html/omp.xsl 2011-11-02 14:44:08 UTC (rev 11940)
@@ -8719,7 +8719,10 @@
<xsl:when test="tags = 'NOTAG'">
</xsl:when>
<xsl:otherwise>
- <xsl:value-of select="tags"/>
+ <xsl:for-each select="str:split (tags, '|')">
+ <xsl:value-of select="substring-before (., '=')"/>:
+ <xsl:value-of select="substring-after (., '=')"/><br/>
+ </xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</td>
More information about the Openvas-commits
mailing list