]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
'sat jobs' add the input file path in the boards xml files
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 4 Aug 2016 13:17:53 +0000 (15:17 +0200)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 4 Aug 2016 13:17:53 +0000 (15:17 +0200)
commands/jobs.py
src/xsl/jobs_board_report.xsl

index 2e01564b41dc90cfe3047e95d25b819dd12f8529..b6c4abe8bd499d075446f278142ab936e7e8e264 100644 (file)
@@ -1078,6 +1078,9 @@ class Gui(object):
         for board in list(self.d_input_boards.keys()):
             if board not in self.d_xml_board_files:
                 self.add_xml_board(board)
+            root_node = self.d_xml_board_files[board].xmlroot
+            src.xmlManager.append_node_attrib(root_node, 
+                                              {"input_file" : self.file_boards})
         
         # Loop over all jobs in order to get the lines and columns for each 
         # xml file
index 0f8bef9a0a87e71a08a9af1ce922d5d2cac66817..d3b4df08a931d4e1fdfb2b88876de29374456d61 100644 (file)
     </xsl:choose>
     </h3>
     </div>
+    <span class="note">input file: <xsl:value-of select="//JobsReport/@input_file" /></span>
 
-    
     <!-- Loop over the jobs in order to find what job was called in the link "onclick". Display information about that job -->
     <xsl:for-each select="//JobsReport/jobs/job">
       <xsl:variable name="curr_job_name" select="@name" />