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

List:       openvas-cvs
Subject:    [Openvas-commits] r22009 - in trunk/gsa: . src/html/classic
From:       scm-commit () wald ! intevation ! org
Date:       2015-03-31 19:03:00
Message-ID: 20150331190300.C57349A21311 () wald ! intevation ! org
[Download RAW message or body]

Author: mattm
Date: 2015-03-31 21:03:00 +0200 (Tue, 31 Mar 2015)
New Revision: 22009

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/classic/omp.xsl
Log:
	* src/html/classic/omp.xsl (report [section-list]): Skip "Results view"
	for prognostic report, because there is no single report.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog	2015-03-31 19:00:47 UTC (rev 22008)
+++ trunk/gsa/ChangeLog	2015-03-31 19:03:00 UTC (rev 22009)
@@ -1,5 +1,10 @@
 2015-03-31  Matthew Mundell <matthew.mundell@greenbone.net>
 
+	* src/html/classic/omp.xsl (report [section-list]): Skip "Results view"
+	for prognostic report, because there is no single report.
+
+2015-03-31  Matthew Mundell <matthew.mundell@greenbone.net>
+
 	* src/html/classic/omp.xsl (report [section-link]): Add missing host URL
 	params to prognostic case.
 	(report [section-filter]): Get prognostic params from ENVELOPE, where

Modified: trunk/gsa/src/html/classic/omp.xsl
===================================================================
--- trunk/gsa/src/html/classic/omp.xsl	2015-03-31 19:00:47 UTC (rev 22008)
+++ trunk/gsa/src/html/classic/omp.xsl	2015-03-31 19:03:00 UTC (rev 22009)
@@ -27353,11 +27353,13 @@
               </xsl:if>
             </li>
             <li>
-              <li>
-                <a href="?cmd=get_results&amp;filter={filters/term} and \
                report_id={@id}&amp;token={/envelope/token}">
-                  <xsl:value-of select="gsa:i18n ('Results view', 'Report \
                Section')"/>
-                </a>
-              </li>
+              <xsl:if test="$type != 'prognostic'">
+                <li>
+                  <a href="?cmd=get_results&amp;filter={filters/term} and \
report_id={@id}&amp;token={/envelope/token}"> +                    <xsl:value-of \
select="gsa:i18n ('Results view', 'Report Section')"/> +                  </a>
+                </li>
+              </xsl:if>
             </li>
             <li>
               <xsl:if test="$type != 'prognostic'">

_______________________________________________
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