Salome HOME
Separating the test command from the other commands in the boards made by the jobs...
[tools/sat.git] / src / xsl / jobs_board_report.xsl
index dff9e3946bbf36dd576855f7aff2acb967a3ba6f..9499a9ba0559306ead74f12dc54d623b8623024f 100644 (file)
                                </xsl:if>
                            </a>
                      </xsl:if>
-                     <xsl:if test="state/.='Not today'">
+                   <xsl:if test="state/.='Not today'">
                         - 
                        <xsl:for-each select="//JobsReport/jobs/job[@name=$curr_job_name]/history/link">
                        <xsl:sort select="@date" order="descending" />
                          </h4>
                        </xsl:if> 
                        </xsl:for-each>
-                     </xsl:if> 
+                     </xsl:if>
+              <!--Add the link to the tests if there is any -->
+              <xsl:if test="(test_log_file_path) and (test_log_file_path/*)">
+              -     
+                <xsl:for-each select="//JobsReport/jobs/job[@name=$curr_job_name]/test_log_file_path/path">
+                  <a>
+                                 <xsl:attribute name="title">remote log test</xsl:attribute>
+                                 <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
+                      test
+                  </a>
+                </xsl:for-each>
+                     </xsl:if>              
                      <br/>
                      
 
 
 </html>
 </xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>