labs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simo...@apache.org
Subject svn commit: r880776 - in /labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview: ListStyleTable.java ListStyleUl.java
Date Mon, 16 Nov 2009 14:51:26 GMT
Author: simoneg
Date: Mon Nov 16 14:51:26 2009
New Revision: 880776

URL: http://svn.apache.org/viewvc?rev=880776&view=rev
Log:
LABS-494: odd/even fix

Modified:
    labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleTable.java
    labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleUl.java

Modified: labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleTable.java
URL: http://svn.apache.org/viewvc/labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleTable.java?rev=880776&r1=880775&r2=880776&view=diff
==============================================================================
--- labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleTable.java
(original)
+++ labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleTable.java
Mon Nov 16 14:51:26 2009
@@ -81,7 +81,7 @@
 		buff.append("#if ($velocityCount == 1)\n");
 		buff.append("first \n");
 		buff.append("#end\n");
-		buff.append("#if (($velocityCount / 2) == 0)\n");
+		buff.append("#if (($velocityCount % 2) == 0)\n");
 		buff.append("even \n");
 		buff.append("#else\n");
 		buff.append("odd \n");

Modified: labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleUl.java
URL: http://svn.apache.org/viewvc/labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleUl.java?rev=880776&r1=880775&r2=880776&view=diff
==============================================================================
--- labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleUl.java
(original)
+++ labs/magma/trunk/website-beansview/src/main/java/org/apache/magma/website/beansview/ListStyleUl.java
Mon Nov 16 14:51:26 2009
@@ -68,7 +68,7 @@
 		buff.append("#if ($velocityCount == 1)\n");
 		buff.append("first \n");
 		buff.append("#end\n");
-		buff.append("#if (($velocityCount / 2) == 0)\n");
+		buff.append("#if (($velocityCount % 2) == 0)\n");
 		buff.append("even \n");
 		buff.append("#else\n");
 		buff.append("odd \n");



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org


Mime
View raw message