continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r386307 - /maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm
Date Thu, 16 Mar 2006 11:10:33 GMT
Author: evenisse
Date: Thu Mar 16 03:10:31 2006
New Revision: 386307

URL: http://svn.apache.org/viewcvs?rev=386307&view=rev
Log:
[CONTINUUM-630] keep previous state in left most column on summary, even when build is queued

Modified:
    maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm

Modified: maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm?rev=386307&r1=386306&r2=386307&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm
Thu Mar 16 03:10:31 2006
@@ -58,6 +58,14 @@
             #else
               $generatedState
             #end
+          #elseif ( $continuum.isInBuildingQueue( $item.id ) )
+            #set ( $latestBuild = $buildResults.get( $item.id ) )
+            #if ( $latestBuild )
+              #set ( $generatedState = $state.generate( $latestBuild ) )
+              <a href="$link.setPage('ProjectBuild.vm').addQueryData('view','ProjectBuild').addQueryData('buildId',$latestBuild.id).addQueryData('id',$item.id)">$generatedState</a></td>
+            #else
+              &nbsp;
+            #end
           #else
             &nbsp;
           #end



Mime
View raw message