[Openvas-commits] r11696 - in trunk/gsa: . src/html
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Sep 27 08:45:08 CEST 2011
Author: mattm
Date: 2011-09-27 08:45:07 +0200 (Tue, 27 Sep 2011)
New Revision: 11696
Modified:
trunk/gsa/ChangeLog
trunk/gsa/src/html/omp.xsl
Log:
* src/html/omp/xsl (get_info_cve_lnk, nvt): Flush trailing whitespace.
(report [details]): Turn result icons back on for normal cases. These
were accidentally turned off during addition of prognostic results.
Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog 2011-09-27 06:28:02 UTC (rev 11695)
+++ trunk/gsa/ChangeLog 2011-09-27 06:45:07 UTC (rev 11696)
@@ -1,5 +1,11 @@
2011-09-27 Matthew Mundell <matthew.mundell at greenbone.net>
+ * src/html/omp/xsl (get_info_cve_lnk, nvt): Flush trailing whitespace.
+ (report [details]): Turn result icons back on for normal cases. These
+ were accidentally turned off during addition of prognostic results.
+
+2011-09-27 Matthew Mundell <matthew.mundell at greenbone.net>
+
* src/gsad_omp.c (get_report_omp): Correct delta state param name.
2011-09-26 Henri Doreau <henri.doreau at greenbone.net>
Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl 2011-09-27 06:28:02 UTC (rev 11695)
+++ trunk/gsa/src/html/omp.xsl 2011-09-27 06:45:07 UTC (rev 11696)
@@ -8291,7 +8291,7 @@
</xsl:when>
<xsl:otherwise>
<a href="/omp?cmd=get_info&info_type=cve&info_name={$cve}&token={$gsa_token}"
- title="Details"><xsl:value-of select="$cve"/></a>
+ title="Details"><xsl:value-of select="$cve"/></a>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
@@ -8514,7 +8514,7 @@
<xsl:with-param name="gsa_token" select="$gsa_token"/>
</xsl:call-template>
<xsl:text> </xsl:text>
- </xsl:for-each>
+ </xsl:for-each>
</xsl:otherwise>
</xsl:choose>
</td>
@@ -12118,13 +12118,19 @@
<h3>
Security Issues reported for <xsl:value-of select="$current_host"/>
</h3>
+ <xsl:variable name="on">
+ <xsl:choose>
+ <xsl:when test="$prognostic=1">0</xsl:when>
+ <xsl:otherwise>1</xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
<xsl:for-each select="../results/result[host/text() = $current_host]">
<xsl:call-template name="result-detailed">
<xsl:with-param name="prognostic" select="$prognostic"/>
- <xsl:with-param name="details-button">0</xsl:with-param>
- <xsl:with-param name="note-buttons">0</xsl:with-param>
- <xsl:with-param name="override-buttons">0</xsl:with-param>
- <xsl:with-param name="show-overrides">0</xsl:with-param>
+ <xsl:with-param name="details-button" select="$on"/>
+ <xsl:with-param name="note-buttons" select="$on"/>
+ <xsl:with-param name="override-buttons" select="$on"/>
+ <xsl:with-param name="show-overrides" select="$on"/>
</xsl:call-template>
</xsl:for-each>
<a href="#summary">Back to summary</a>
More information about the Openvas-commits
mailing list