Author: timopollmeier
Date: 2017-10-24 12:28:01 +0200 (Tue, 24 Oct 2017)
New Revision: 29907

Modified:
   trunk/gsa/ChangeLog
   trunk/gsa/src/html/classic/omp.xsl
Log:
        * src/html/classic/omp.xsl (get_system_reports_response): Check for
        status code 503 instead of 500 for slave unavailable message.

Modified: trunk/gsa/ChangeLog
===================================================================
--- trunk/gsa/ChangeLog 2017-10-24 10:27:32 UTC (rev 29906)
+++ trunk/gsa/ChangeLog 2017-10-24 10:28:01 UTC (rev 29907)
@@ -1,3 +1,8 @@
+2017-10-24  Timo Pollmeier <timo.pollme...@greenbone.net>
+
+       * src/html/classic/omp.xsl (get_system_reports_response): Check for
+       status code 503 instead of 500 for slave unavailable message.
+
 2017-10-24  Bj�rn Ricks <bjoern.ri...@greenbone.net>
 
        * src/html/classic/ng/CMakeLists.txt,

Modified: trunk/gsa/src/html/classic/omp.xsl
===================================================================
--- trunk/gsa/src/html/classic/omp.xsl  2017-10-24 10:27:32 UTC (rev 29906)
+++ trunk/gsa/src/html/classic/omp.xsl  2017-10-24 10:28:01 UTC (rev 29907)
@@ -32513,7 +32513,7 @@
     </form>
 
     <xsl:choose>
-      <xsl:when test="@status = '500'">
+      <xsl:when test="@status = '503'">
         <p>
           <xsl:value-of select="gsa:i18n ('The selected Slave Scanner can 
currently not be reached for retrieval of performance data.')"/>
         </p>

_______________________________________________
Openvas-commits mailing list
Openvas-commits@wald.intevation.org
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-commits

Reply via email to