continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r386074 - /maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/resources/templates/screens/Summary.vm
Date Wed, 15 Mar 2006 13:59:13 GMT
Author: evenisse
Date: Wed Mar 15 05:59:12 2006
New Revision: 386074

URL: http://svn.apache.org/viewcvs?rev=386074&view=rev
Log:
o Remove "Build" text when build action isn't available
Add icons for actions building/checking out/updating instead of 'in queue' icon

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=386074&r1=386073&r2=386074&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
Wed Mar 15 05:59:12 2006
@@ -76,6 +76,12 @@
             #else
               $item.buildNumber
             #end
+          #elseif ( $item.state == 6 )
+            <b><img src="$requestUtil.getContextPath()/images/building.gif" alt="Building"
title="Building" width="16" height="16"></b>
+          #elseif ( $item.state == 7 )
+            <b><img src="$requestUtil.getContextPath()/images/checkingout.gif" alt="Checking
Out sources" title="Checking Out sources" width="16" height="16"></b>
+          #elseif ( $item.state == 8 )
+            <b><img src="$requestUtil.getContextPath()/images/checkingout.gif" alt="Updating
sources" title="Updating sources" width="16" height="16"></b>
           #else
             <b><img src="$requestUtil.getContextPath()/images/inqueue.gif" alt="In
Queue" title="In Queue" width="16" height="16"></b>
           #end
@@ -88,7 +94,7 @@
         #if ( $continuum.security.isAuthorized( $c1user, "buildProject" ) )
           <td width="1%">
           #if ( $continuum.isInBuildingQueue( $item.id ) || $continuum.isInCheckoutQueue(
$item.id ) )
-            Build
+            &nbsp;
           #elseif ( $item.state == 1 || $item.state == 2 || $item.state == 3 || $item.state
== 4 )
             <a href="$link.addPathInfo('action', 'cam').addPathInfo('cid','buildProject').addPathInfo('id',
$item.id)"><img src="$requestUtil.getContextPath()/images/buildnow.gif" alt="Build Now"
title="Build Now" width="16" height="16" border="0"></a>
           #else



Mime
View raw message