提交 026b0310 编写于 作者: I Ignacio Albors

[JENKINS-13035] Only show this option when more than 1

MyViewTabBar available.
上级 08654048
package hudson.views.MyViewsTabBar.GlobalConfigurationImpl
import hudson.views.ViewsTabBar
import hudson.views.MyViewsTabBar
def f=namespace(lib.FormTagLib)
def all = ViewsTabBar.all()
def all = MyViewsTabBar.all()
if (all.size()>1) {
f.dropdownDescriptorSelector(title:_("My Views Tab Bar"),field:"myViewsTabBar")
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册