continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r312860 - /maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm
Date Tue, 11 Oct 2005 11:40:15 GMT
Author: evenisse
Date: Tue Oct 11 04:40:12 2005
New Revision: 312860

URL: http://svn.apache.org/viewcvs?rev=312860&view=rev
Log:
[CONTINUUM-336] Show builds as queued

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

Modified: maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm?rev=312860&r1=312859&r2=312860&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm (original)
+++ maven/continuum/trunk/continuum-web/src/main/resources/templates/screens/Summary.vm Tue
Oct 11 04:40:12 2005
@@ -56,7 +56,9 @@
         <td><a href="$link.setPage('View.vm').addPathInfo('fid', "$!{item.executorId}Project").addPathInfo('id',
$item.id)">$!item.name</a></td>
         <td>$!item.version</td>
         <td>
-          #if ( $item.state == 1 || $item.state == 2 || $item.state == 3 || $item.state ==
4 )
+          #if ( $continuum.isInBuildingQueue( $item.id ) )
+            <b>In&nbsp;queue</b>
+          #elseif ( $item.state == 1 || $item.state == 2 || $item.state == 3 || $item.state
== 4 )
             $item.buildNumber
           #else
             <b>In&nbsp;progress</b>
@@ -67,7 +69,9 @@
         ## Operations
 
         #if ( $continuum.security.isAuthorized( $c1user, "buildProject" ) )
-          #if ( $item.state == 1 || $item.state == 2 || $item.state == 3 || $item.state ==
4 )
+          #if ( $continuum.isInBuildingQueue( $item.id ) )
+          <td>Build</td>
+          #elseif ( $item.state == 1 || $item.state == 2 || $item.state == 3 || $item.state
== 4 )
           <td><a href="$link.addPathInfo('action', 'cam').addPathInfo('cid','buildProject').addPathInfo('id',
$item.id)">Build&nbsp;Now</a></td>
           #else
           <td>Build</td>



Mime
View raw message