Skip to content
Permalink
Browse files
[FIXED JENKINS-10072] Add option for disabling the count in the dropd…
…own tab name
  • Loading branch information
jieryn committed Jun 22, 2011
1 parent fffc5d2 commit 8d0053745a4e42615dae03b13d1314ba8afbe9b6
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/resources/hudson/views/tabbar/DropDownViewsTabBar/viewTabs.jelly
@@ -45,7 +45,9 @@ THE SOFTWARE.
<span style="font-weight: bold;">${%ViewsTitle}</span>
<select id="selectView" onChange="javascript:selectViewOnChange();">
<j:forEach var="view" items="${views}">
<option id="${view.viewName}" value="${view.viewUrl}">${view.viewName} (${view.getItems().size()})</option>
<option id="${view.viewName}" value="${view.viewUrl}">${view.viewName}
<j:if test="${it.descriptor.showJobCount}">(${view.getItems().size()})</j:if>
</option>
</j:forEach>
<j:if test="${currentView.hasPermission(currentView.CREATE)}">
<option value="">----------------</option>

0 comments on commit 8d00537

Please sign in to comment.