Salome HOME
link to remote machine logs in the matrix of jobs command
[tools/sat.git] / src / xsl / job_report.xsl
index dd9753ad3309f5bcb91769b9e6a79e627e6a5e82..a89e378a52a66458d5f4561669e1d8a3595e094c 100644 (file)
                      <a href="#"><xsl:attribute name="onclick">javascript:Toggle('<xsl:value-of select="@name"/>')</xsl:attribute>
                      <xsl:value-of select="@name"/></a>&#160; : 
                      <xsl:value-of select="state/." />
+                     <xsl:if test="not(remote_log_file_path/.='nothing')">
+                           <a>
+                               <xsl:attribute name="title">remote log</xsl:attribute>
+                               <xsl:attribute name="href"><xsl:value-of select="remote_log_file_path/."/></xsl:attribute>
+                               remote log
+                           </a>
+                     </xsl:if> 
                      <br/>
                  </xsl:if> 
                  
        </xsl:when>
        
        <xsl:otherwise>
-           Command status : finished
+           Command status : <xsl:value-of select="//JobsReport/infos/@JobsCommandStatus/."/>
        </xsl:otherwise>
     </xsl:choose>
     </h3>
          <br/>
          <h4>Commands : </h4><xsl:value-of select="//JobsReport/jobs/job[@name=$curr_job_name]/commands"/>
          <br/>
-         <h4>Out : </h4><xsl:value-of select="//JobsReport/jobs/job[@name=$curr_job_name]/out"/>
+         <h4>Out : </h4><PRE><xsl:value-of select="//JobsReport/jobs/job[@name=$curr_job_name]/out"/></PRE>
          <br/>
-         <h4>Err : </h4><h_err><xsl:value-of select="//JobsReport/jobs/job[@name=$curr_job_name]/err"/></h_err>
+         <h4>Err : </h4><h_err><PRE><xsl:value-of select="//JobsReport/jobs/job[@name=$curr_job_name]/err"/></PRE></h_err>
       </div>
     </xsl:for-each>