[Openvas-commits] r11928 - in trunk/gsa: . src/html
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Nov 1 20:42:46 CET 2011
Author: mattm
Date: 2011-11-01 20:42:45 +0100 (Tue, 01 Nov 2011)
New Revision: 11928
Modified:
trunk/gsa/ChangeLog
trunk/gsa/src/html/omp.xsl
Log:
* src/html/omp.xsl (assets, report [assets]): Add result_hosts_only to
prognostic report links.
(html-report-details): Include the "Only show hosts..." checkbox for
prognostic reports too.
Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog 2011-11-01 19:40:09 UTC (rev 11927)
+++ trunk/gsa/ChangeLog 2011-11-01 19:42:45 UTC (rev 11928)
@@ -1,5 +1,12 @@
2011-11-01 Matthew Mundell <matthew.mundell at greenbone.net>
+ * src/html/omp.xsl (assets, report [assets]): Add result_hosts_only to
+ prognostic report links.
+ (html-report-details): Include the "Only show hosts..." checkbox for
+ prognostic reports too.
+
+2011-11-01 Matthew Mundell <matthew.mundell at greenbone.net>
+
* src/html/omp.xsl (assets): Add missing report element to prognostic
report link.
(html-report-details): Add missing host filter params to page arrows.
Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl 2011-11-01 19:40:09 UTC (rev 11927)
+++ trunk/gsa/src/html/omp.xsl 2011-11-01 19:42:45 UTC (rev 11928)
@@ -808,7 +808,7 @@
style="margin-left:3px;"/>
</xsl:when>
<xsl:otherwise>
- <a href="/omp?cmd=get_report&type=prognostic&pos=1&host_search_phrase={report/filters/phrase}&host_levels={gsa:build-levels(report/filters)}&host_first_result={report/hosts/@start}&host_max_results={report/hosts/@max}&token={/envelope/token}"
+ <a href="/omp?cmd=get_report&type=prognostic&pos=1&host_search_phrase={report/filters/phrase}&host_levels={gsa:build-levels(report/filters)}&host_first_result={report/hosts/@start}&host_max_results={report/hosts/@max}&result_hosts_only=1&token={/envelope/token}"
title="Prognostic Report" style="margin-left:3px;">
<img src="/img/list.png" border="0" alt="Prognostic Report"/>
</a>
@@ -1721,8 +1721,6 @@
<div style="padding: 2px;">
<xsl:choose>
- <xsl:when test="@type='prognostic'">
- </xsl:when>
<xsl:when test="report/filters/result_hosts_only = 0">
<input type="checkbox" name="result_hosts_only" value="1"/>
Only show hosts that have results
@@ -12076,7 +12074,7 @@
style="margin-left:3px;"/>
</xsl:when>
<xsl:otherwise>
- <a href="/omp?cmd=get_report&type=prognostic&host={ip}&pos=1&host_search_phrase={../filters/phrase}&host_levels={gsa:build-levels(../filters)}&host_first_result={../hosts/@start}&host_max_results={../hosts/@max}&token={/envelope/token}"
+ <a href="/omp?cmd=get_report&type=prognostic&host={ip}&pos=1&host_search_phrase={../filters/phrase}&host_levels={gsa:build-levels(../filters)}&host_first_result={../hosts/@start}&host_max_results={../hosts/@max}&result_hosts_only=1&token={/envelope/token}"
title="Prognostic Report" style="margin-left:3px;">
<img src="/img/list.png" border="0" alt="Prognostic Report"/>
</a>
More information about the Openvas-commits
mailing list