[Openvas-commits] r12191 - in trunk/gsa: . src/html

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Nov 25 08:25:48 CET 2011


Author: mattm
Date: 2011-11-25 08:25:42 +0100 (Fri, 25 Nov 2011)
New Revision: 12191

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/omp.xsl
Log:
	* src/html/omp.xsl (note-detailed): Send delta params in delta case.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2011-11-24 21:44:41 UTC (rev 12190)
+++ trunk/gsa/ChangeLog	2011-11-25 07:25:42 UTC (rev 12191)
@@ -1,3 +1,7 @@
+2011-11-25  Matthew Mundell <matthew.mundell at greenbone.net>
+
+	* src/html/omp.xsl (note-detailed): Send delta params in delta case.
+
 2011-11-24  Matthew Mundell <matthew.mundell at greenbone.net>
 
 	* src/gsad_omp.c (save_note_omp): Add missing days init.

Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl	2011-11-24 21:44:41 UTC (rev 12190)
+++ trunk/gsa/src/html/omp.xsl	2011-11-25 07:25:42 UTC (rev 12191)
@@ -11661,6 +11661,12 @@
                 <input type="hidden" name="notes" value="{../../../../filters/notes}"/>
                 <input type="hidden" name="overrides" value="{../../../../filters/apply_overrides}"/>
                 <input type="hidden" name="result_hosts_only={../../../../filters/result_hosts_only}"/>
+                <xsl:choose>
+                  <xsl:when test="$delta and $delta &gt; 0">
+                    <input type="hidden" name="delta_report_id" value="{../../../../delta/report/@id}"/>
+                    <input type="hidden" name="delta_states" value="{../../../../filters/delta/text()}"/>
+                  </xsl:when>
+                </xsl:choose>
               </xsl:otherwise>
             </xsl:choose>
             <input type="hidden" name="next" value="{$next}"/>



More information about the Openvas-commits mailing list