Skip to content

Commit

Permalink
Merge pull request #89 from stephenc/jenkins-37364
Browse files Browse the repository at this point in the history
[JENKINS-37364] Tabs should indicate the number of items they have
  • Loading branch information
stephenc committed Feb 28, 2017
2 parents 36b3e9c + 5501fdb commit ec03b42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -223,7 +223,7 @@ public ViewImpl(ViewGroup owner, @NonNull SCMHeadCategory category) {
*/
@Override
public String getDisplayName() {
return category.getDisplayName().toString();
return category.getDisplayName().toString() + " (" + getItems().size() + ")";
}

/**
Expand Down
Expand Up @@ -217,7 +217,7 @@ public ViewImpl(ViewGroup owner, @NonNull SCMSourceCategory category) {
*/
@Override
public String getDisplayName() {
return category.getDisplayName().toString();
return category.getDisplayName().toString() + " (" + getItems().size() + ")";
}

/**
Expand Down

0 comments on commit ec03b42

Please sign in to comment.