continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r329772 - /maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/ProjectBuild.vm
Date Mon, 31 Oct 2005 08:53:09 GMT
Author: evenisse
Date: Mon Oct 31 00:53:05 2005
New Revision: 329772

URL: http://svn.apache.org/viewcvs?rev=329772&view=rev
Log:
Don't show build number 0 if build failed

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=329772&r1=329771&r2=329772&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
Mon Oct 31 00:53:05 2005
@@ -41,7 +41,13 @@
       </tr>
       <tr class="a">
         <th>Build#</th>
-        <td>$build.buildNumber</td>
+        <td>
+        #if ( $build.buildNumber != 0 )
+          $build.buildNumber
+        #else
+          &nbsp;
+        #end
+        </td>
       </tr>
     </table>
   </p>



Mime
View raw message