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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Dec 1 14:57:57 CET 2009


Author: jan
Date: 2009-12-01 14:57:56 +0100 (Tue, 01 Dec 2009)
New Revision: 6025

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/src/omp.xsl
Log:
* src/html/src/omp.xsl: Grey out Stop/Delete in case a Task is "Requested".



Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2009-12-01 13:49:41 UTC (rev 6024)
+++ trunk/gsa/ChangeLog	2009-12-01 13:57:56 UTC (rev 6025)
@@ -1,3 +1,7 @@
+2009-12-01  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
+
+	* src/html/src/omp.xsl: Grey out Stop/Delete in case a Task is "Requested".
+
 2009-11-27  Matthew Mundell <matthew.mundell at intevation.de>
 
 	* src/gsad_omp.h, src/gsad_omp.c: New files.

Modified: trunk/gsa/src/html/src/omp.xsl
===================================================================
--- trunk/gsa/src/html/src/omp.xsl	2009-12-01 13:49:41 UTC (rev 6024)
+++ trunk/gsa/src/html/src/omp.xsl	2009-12-01 13:57:56 UTC (rev 6025)
@@ -1033,7 +1033,7 @@
             </xsl:otherwise>
           </xsl:choose>
           <xsl:choose>
-            <xsl:when test="status='New' or status='Done' or status='Stopped'">
+            <xsl:when test="status='New' or status='Requested' or status='Done' or status='Stopped'">
               <img src="/img/stop_inactive.png" border="0"
                    alt="Abort"
                    style="margin-left:3px;"/>
@@ -1048,7 +1048,7 @@
             </xsl:otherwise>
           </xsl:choose>
           <xsl:choose>
-            <xsl:when test="status='Running'">
+            <xsl:when test="status='Running' or status='Requested'">
               <img src="/img/delete_inactive.png"
                    border="0"
                    alt="Delete"



More information about the Openvas-commits mailing list