continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tryg...@apache.org
Subject svn commit: r209794 - /maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm
Date Fri, 08 Jul 2005 14:37:42 GMT
Author: trygvis
Date: Fri Jul  8 07:37:42 2005
New Revision: 209794

URL: http://svn.apache.org/viewcvs?rev=209794&view=rev
Log:
o Printing "Not completed" instead of "00:00:00 1 Jan 1970".
o Printing "Yes"/"No" instead of "true"/"false".

Modified:
    maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm?rev=209794&r1=209793&r2=209794&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm
(original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm
Fri Jul  8 07:37:42 2005
@@ -10,11 +10,19 @@
       </tr>
       <tr class="a">
         <th>End Time</th>
+        #if ( $build.endTime == 0 )
+        <td>Not completed</td>
+        #else
         <td>$date.format('medium',$build.endTime)</td>
+        #end
       </tr>
       <tr class="a">
         <th>Build forced</th>
-        <td>$build.forced</td>
+        #if ( $build.forced )
+        <td>Yes</td>
+        #else
+        <td>No</td>
+        #end
       </tr>
     </table>
   </p>



Mime
View raw message