Merge "Make the parent project names in the ProjectDashboardScreen links"

This commit is contained in:
Shawn Pearce
2012-11-20 15:12:36 -08:00
committed by Gerrit Code Review
2 changed files with 7 additions and 1 deletions

View File

@@ -126,7 +126,9 @@ public class DashboardsTable extends NavigationTable<DashboardInfo> {
+ PageLinks.toProjectDashboard(new Project.NameKey(k.project()), k.id())));
table.setText(row, 3, k.description());
if (k.project() != null && !project.get().equals(k.project())) {
table.setText(row, 4, k.project());
table.setWidget(row, 4, new Anchor(k.project(), "#"
+ PageLinks.toProjectDashboards(new Project.NameKey(k
.project()))));
}
setRowItem(row, k);
}