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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Nov 28 14:40:40 CET 2011


Author: mattm
Date: 2011-11-28 14:40:39 +0100 (Mon, 28 Nov 2011)
New Revision: 12205

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/omp.xsl
Log:
	* src/html/omp.xsl (result-detailed): Add missing case for delete icons
	on the Result Details page.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2011-11-28 13:25:20 UTC (rev 12204)
+++ trunk/gsa/ChangeLog	2011-11-28 13:40:39 UTC (rev 12205)
@@ -1,5 +1,10 @@
 2011-11-25  Matthew Mundell <matthew.mundell at greenbone.net>
 
+	* src/html/omp.xsl (result-detailed): Add missing case for delete icons
+	on the Result Details page.
+
+2011-11-25  Matthew Mundell <matthew.mundell at greenbone.net>
+
 	* src/html/omp.xsl (note-detailed-delete-params)
 	(override-detailed-delete-params): New templates.
 	(note-detailed, override-detailed): Call new template to put down the

Modified: trunk/gsa/src/html/omp.xsl
===================================================================
--- trunk/gsa/src/html/omp.xsl	2011-11-28 13:25:20 UTC (rev 12204)
+++ trunk/gsa/src/html/omp.xsl	2011-11-28 13:40:39 UTC (rev 12205)
@@ -12164,6 +12164,12 @@
               <img src="/img/new_note.png" border="0" alt="Add Note"/>
             </a>
           </xsl:when>
+          <xsl:when test="$result-details">
+            <a href="/omp?cmd=new_note&amp;next=get_result&amp;result_id={@id}&amp;oid={nvt/@oid}&amp;task_id={../../../../task/@id}&amp;name={../../../../task/name}&amp;report_id={../../../../report/@id}&amp;first_result={../../../../results/@start}&amp;max_results={../../../../results/@max}&amp;levels={../../../../filters/text()}&amp;sort_field={../../../../sort/field/text()}&amp;sort_order={../../../../sort/field/order}&amp;search_phrase={../../../../filters/phrase}&amp;min_cvss_base={../../../../filters/min_cvss_base}&amp;apply_min_cvss_base={number (string-length (../../filters/min_cvss_base) &gt; 0)}&amp;threat={threat}&amp;port={port}&amp;hosts={host/text()}&amp;notes={../../../../filters/notes}&amp;overrides={../../../../filters/apply_overrides}&amp;result_hosts_only={../../../../filters/result_hosts_only}&amp;token={/envelope/token}"
+               title="Add Note" style="margin-left:3px;">
+              <img src="/img/new_note.png" border="0" alt="Add Note"/>
+            </a>
+          </xsl:when>
           <xsl:when test="original_threat and string-length (original_threat)">
             <a href="/omp?cmd=new_note&amp;result_id={@id}&amp;oid={nvt/@oid}&amp;task_id={../../task/@id}&amp;name={../../task/name}&amp;report_id={../../@id}&amp;first_result={../../results/@start}&amp;max_results={../../results/@max}&amp;levels={../../filters/text()}&amp;sort_field={../../sort/field/text()}&amp;sort_order={../../sort/field/order}&amp;search_phrase={../../filters/phrase}&amp;min_cvss_base={../../filters/min_cvss_base}&amp;apply_min_cvss_base={number (string-length (../../filters/min_cvss_base) &gt; 0)}&amp;threat={original_threat}&amp;port={port}&amp;hosts={host/text()}&amp;notes={../../filters/notes}&amp;overrides={../../filters/apply_overrides}&amp;result_hosts_only={../../filters/result_hosts_only}&amp;token={/envelope/token}"
                title="Add Note" style="margin-left:3px;">
@@ -12196,6 +12202,12 @@
               <img src="/img/new_override.png" border="0" alt="Add Override"/>
             </a>
           </xsl:when>
+          <xsl:when test="$result-details">
+            <a href="/omp?cmd=new_override&amp;next=get_result&amp;result_id={@id}&amp;oid={nvt/@oid}&amp;task_id={../../../../task/@id}&amp;name={../../../../task/name}&amp;report_id={../../../../report/@id}&amp;first_result={../../../../results/@start}&amp;max_results={../../../../results/@max}&amp;levels={../../../../filters/text()}&amp;sort_field={../../../../sort/field/text()}&amp;sort_order={../../../../sort/field/order}&amp;search_phrase={../../../../filters/phrase}&amp;min_cvss_base={../../../../filters/min_cvss_base}&amp;apply_min_cvss_base={(string-length (../../filters/min_cvss_base) &gt; 0)}&amp;threat={threat}&amp;port={port}&amp;hosts={host/text()}&amp;notes={../../../../filters/notes}&amp;overrides={../../../../filters/apply_overrides}&amp;result_hosts_only={../../../../filters/result_hosts_only}&amp;token={/envelope/token}"
+               title="Add Override" style="margin-left:3px;">
+              <img src="/img/new_override.png" border="0" alt="Add Override"/>
+            </a>
+          </xsl:when>
           <xsl:when test="original_threat and string-length (original_threat)">
             <a href="/omp?cmd=new_override&amp;result_id={@id}&amp;oid={nvt/@oid}&amp;task_id={../../task/@id}&amp;name={../../task/name}&amp;report_id={../../@id}&amp;first_result={../../results/@start}&amp;max_results={../../results/@max}&amp;levels={../../filters/text()}&amp;sort_field={../../sort/field/text()}&amp;sort_order={../../sort/field/order}&amp;search_phrase={../../filters/phrase}&amp;min_cvss_base={../../filters/min_cvss_base}&amp;apply_min_cvss_base={number (string-length (../../filters/min_cvss_base) &gt; 0)}&amp;threat={original_threat}&amp;port={port}&amp;hosts={host/text()}&amp;notes={../../filters/notes}&amp;overrides={../../filters/apply_overrides}&amp;result_hosts_only={../../filters/result_hosts_only}&amp;token={/envelope/token}"
                title="Add Override" style="margin-left:3px;">



More information about the Openvas-commits mailing list