Skip to content

Commit

Permalink
[JENKINS-37364] Tabs should indicate the number of items they have
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Feb 27, 2017
1 parent 36b3e9c commit 5501fdb
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 5501fdb

Please sign in to comment.