Salome HOME
Improve the stylesheet for the jobs board report
authorSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 9 Feb 2017 14:10:23 +0000 (15:10 +0100)
committerSerge Rehbinder <serge.rehbinder@cea.fr>
Thu, 9 Feb 2017 14:10:23 +0000 (15:10 +0100)
src/xsl/jobs_board_report.xsl

index ad9c8f665f5df44f2fcc92a2f4670688753e9645..ea60ca4204b15c823624bb42307f289b1ad7a16c 100644 (file)
                      <xsl:if test="not(remote_log_file_path/.='nothing') and state/.!='Not today'">
                             - 
                            <a>
-                               <xsl:attribute name="title">remote log</xsl:attribute>
+                               <xsl:attribute name="title">Begin : <xsl:value-of select="begin/."/>&#xA;End :    <xsl:value-of select="end/."/> </xsl:attribute>
                                <xsl:attribute name="href"><xsl:value-of select="remote_log_file_path/."/></xsl:attribute>
                                <xsl:if test="res/.='0'">
                                   <xsl:attribute name="class">OK2day</xsl:attribute>
                        <xsl:if test="@last='yes'">
                          <h4>
                            <a>
-                             <xsl:attribute name="title">remote log</xsl:attribute>
+                             <xsl:attribute name="title">
+                                 <xsl:value-of select="concat(substring(@date, 7, 2), '/', substring(@date, 5, 2), '/', substring(@date,1,4))"/>
+                             </xsl:attribute>
                              <xsl:attribute name="href"><xsl:value-of select="."/></xsl:attribute>
                              <xsl:if test="@res='0'">
                                  <xsl:attribute name="class">OK2</xsl:attribute>
                              <xsl:if test="@res!='0'">
                                  <xsl:attribute name="class">KO2</xsl:attribute>
                              </xsl:if>
-                             <xsl:value-of select="@date"/>
+                             <xsl:value-of select="../../host"/>
                            </a>
                          </h4>
                        </xsl:if>