Index: src/main/java/org/apache/maven/continuum/web/view/BuildStatusCell.java
===================================================================
--- src/main/java/org/apache/maven/continuum/web/view/BuildStatusCell.java (revision 578526)
+++ src/main/java/org/apache/maven/continuum/web/view/BuildStatusCell.java (working copy)
@@ -1,64 +0,0 @@
-package org.apache.maven.continuum.web.view;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import org.apache.maven.continuum.project.ContinuumProjectState;
-import org.apache.maven.continuum.web.model.GroupSummary;
-import org.apache.maven.continuum.web.util.StateGenerator;
-import org.extremecomponents.table.bean.Column;
-import org.extremecomponents.table.cell.DisplayCell;
-import org.extremecomponents.table.core.TableModel;
-
-/**
- * @author Emmanuel Venisse
- * @version $Id$
- * @deprecated use of cells is discouraged due to lack of i18n and design in java code.
- * Use jsp:include instead.
- */
-public class BuildStatusCell
- extends DisplayCell
-{
- protected String getCellValue( TableModel tableModel, Column column )
- {
- GroupSummary group = (GroupSummary) tableModel.getCurrentRowBean();
-
- String success = StateGenerator.generate( ContinuumProjectState.OK, tableModel.getContext().getContextPath() );
-
- String failed =
- StateGenerator.generate( ContinuumProjectState.FAILED, tableModel.getContext().getContextPath() );
-
- String error = StateGenerator.generate( ContinuumProjectState.ERROR, tableModel.getContext().getContextPath() );
-
- StringBuffer cellContent = new StringBuffer();
- cellContent.append( success );
- cellContent.append( " " );
- cellContent.append( group.getNumSuccesses() );
- cellContent.append( " " );
- cellContent.append( failed );
- cellContent.append( " " );
- cellContent.append( group.getNumFailures() );
- cellContent.append( " " );
- cellContent.append( error );
- cellContent.append( " " );
- cellContent.append( group.getNumErrors() );
-
- return cellContent.toString();
- }
-}
Index: src/main/webapp/WEB-INF/jsp/groupSummary.jsp
===================================================================
--- src/main/webapp/WEB-INF/jsp/groupSummary.jsp (revision 578526)
+++ src/main/webapp/WEB-INF/jsp/groupSummary.jsp (working copy)
@@ -57,8 +57,10 @@
">${group.name}
-
-
+
+
+
+
Index: src/main/webapp/css/extremecomponents.css
===================================================================
--- src/main/webapp/css/extremecomponents.css (revision 578526)
+++ src/main/webapp/css/extremecomponents.css (working copy)
@@ -78,6 +78,10 @@
background: #ddd;
}
+.eXtremeTable .calcResult {
+ text-align: right;
+}
+
.eXtremeTable .highlight td {
background-color: #bbb;
}