James Moger
2013-11-22 3daba4304dba818d54eb9b74d8d35df5aab8fee5
src/main/java/com/gitblit/wicket/pages/ActivityPage.java
@@ -51,9 +51,9 @@
/**
 * Activity Page shows a list of recent commits across all visible Gitblit
 * repositories.
 *
 *
 * @author James Moger
 *
 *
 */
@CacheControl(LastModified.ACTIVITY)
@@ -72,7 +72,7 @@
      // determine repositories to view and retrieve the activity
      List<RepositoryModel> models = getRepositories(params);
      List<Activity> recentActivity = ActivityUtils.getRecentActivity(models,
      List<Activity> recentActivity = ActivityUtils.getRecentActivity(models,
            daysBack, objectId, getTimeZone());
      String headerPattern;
@@ -91,11 +91,12 @@
            headerPattern = getString("gb.recentActivityStats");
         }
      }
      if (recentActivity.size() == 0) {
         // no activity, skip graphs and activity panel
         add(new Label("subheader", MessageFormat.format(headerPattern,
               daysBack)));
         add(new Label("chartsPanel").setVisible(false));
         add(new Label("activityPanel"));
      } else {
         // calculate total commits and total authors
@@ -157,7 +158,7 @@
   /**
    * Creates the daily activity line chart, the active repositories pie chart,
    * and the active authors pie chart
    *
    *
    * @param recentActivity
    * @return
    */