[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvas-cvs
Subject:    [Openvas-commits] r21715 - in trunk/gsa: . src/html/classic
From:       scm-commit () wald ! intevation ! org
Date:       2015-02-25 13:53:53
Message-ID: 20150225135353.97D0A9A1BF21 () wald ! intevation ! org
[Download RAW message or body]

Author: mattm
Date: 2015-02-25 14:53:53 +0100 (Wed, 25 Feb 2015)
New Revision: 21715

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/classic/omp.xsl
Log:
	* src/html/classic/omp.xsl (get_info_response): Call get_nvts directly.
	(nvt-details): Remove.  No longer used.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2015-02-25 13:50:57 UTC (rev 21714)
+++ trunk/gsa/ChangeLog	2015-02-25 13:53:53 UTC (rev 21715)
@@ -1,5 +1,10 @@
 2015-02-25  Matthew Mundell <matthew.mundell@greenbone.net>
 
+	* src/html/classic/omp.xsl (get_info_response): Call get_nvts directly.
+	(nvt-details): Remove.  No longer used.
+
+2015-02-25  Matthew Mundell <matthew.mundell@greenbone.net>
+
 	* src/html/classic/omp.xsl (nvt [details]): Remove preferences, because
 	the Scan Config NVT Details used this template and adds its own
 	preferences.

Modified: trunk/gsa/src/html/classic/omp.xsl
===================================================================
--- trunk/gsa/src/html/classic/omp.xsl	2015-02-25 13:50:57 UTC (rev 21714)
+++ trunk/gsa/src/html/classic/omp.xsl	2015-02-25 13:53:53 UTC (rev 21715)
@@ -17868,7 +17868,9 @@
       <xsl:choose>
         <xsl:when test="(/envelope/params/info_name and info_count/filtered &lt;= 1)
                         or /envelope/params/info_id">
-          <xsl:call-template name="nvt-details"/>
+          <xsl:call-template name="get_nvts">
+            <xsl:with-param name="nvts_response" select="info"/>
+          </xsl:call-template>
         </xsl:when>
         <xsl:otherwise>
           <xsl:call-template name="html-nvt-table"/>
@@ -18437,12 +18439,6 @@
   </xsl:call-template>
 </xsl:template>
 
-<xsl:template name="nvt-details">
-  <xsl:call-template name="get_nvts">
-    <xsl:with-param name="nvts_response" select="info"/>
-  </xsl:call-template>
-</xsl:template>
-
 <xsl:template name="ovaldef-details">
   <div class="gb_window">
     <div class="gb_window_part_left"></div>

_______________________________________________
Openvas-commits mailing list
Openvas-commits@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic