Add ProjectDashboardsScreen

This screen displays a table with a list of dasboards for the
current project.  Each dashboard entry is a link to the actual
dashboard.  The dashboards are grouped together in sections
named after their refs.

Change-Id: I3c88dc7771d381906f2f5e8575f18aa86859b465
This commit is contained in:
Martin Fick
2012-11-12 12:14:51 -07:00
parent 488534349a
commit 13c6530ee2
9 changed files with 229 additions and 0 deletions

View File

@@ -54,6 +54,7 @@ import com.google.gerrit.client.admin.GroupListScreen;
import com.google.gerrit.client.admin.PluginListScreen;
import com.google.gerrit.client.admin.ProjectAccessScreen;
import com.google.gerrit.client.admin.ProjectBranchesScreen;
import com.google.gerrit.client.admin.ProjectDashboardsScreen;
import com.google.gerrit.client.admin.ProjectInfoScreen;
import com.google.gerrit.client.admin.ProjectListScreen;
import com.google.gerrit.client.admin.ProjectScreen;
@@ -729,6 +730,10 @@ public class Dispatcher {
if (ProjectScreen.ACCESS.equals(panel)) {
return new ProjectAccessScreen(k);
}
if (ProjectScreen.DASHBOARDS.equals(panel)) {
return new ProjectDashboardsScreen(k);
}
}
return new NotFoundScreen();
}