continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r386348 - /maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java
Date Thu, 16 Mar 2006 14:53:41 GMT
Author: evenisse
Date: Thu Mar 16 06:53:40 2006
New Revision: 386348

URL: http://svn.apache.org/viewcvs?rev=386348&view=rev
Log:
Use icons instead of text

Modified:
    maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java

Modified: maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java
URL: http://svn.apache.org/viewcvs/maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java?rev=386348&r1=386347&r2=386348&view=diff
==============================================================================
--- maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java
(original)
+++ maven/continuum/branches/continuum-1.0.x/continuum-web/src/main/java/org/apache/maven/continuum/web/tool/ContinuumStateContentGenerator.java
Thu Mar 16 06:53:40 2006
@@ -67,15 +67,15 @@
         }
         else if ( state == ContinuumProjectState.BUILDING )
         {
-            return "Building";
+            return "<img src=\"" + data.getContextPath() + "/images/building.gif\" alt=\"Building\"
title=\"Building\" border=\"0\">";
         }
         else if ( state == ContinuumProjectState.UPDATING )
         {
-            return "Updating";
+            return "<img src=\"" + data.getContextPath() + "/images/checkingout.gif\"
alt=\"Checking Out sources\" title=\"Checking Out sources\" border=\"0\">";
         }
         else if ( state == ContinuumProjectState.CHECKING_OUT )
         {
-            return "Checking Out";
+            return "<img src=\"" + data.getContextPath() + "/images/checkingout.gif\"
alt=\"Updating sources\" title=\"Updating sources\" border=\"0\">";
         }
         else
         {



Mime
View raw message