mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-18 06:22:29 +00:00
avoid having the description that's too long, which pushes the scroll bar too far off.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13011 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
9c1e717d20
commit
895e5ba1c3
1 file changed
+4
@@ -81,6 +81,10 @@ public class Label implements Comparable<Label>, ModelObject {
|
||||
StringBuilder buf = new StringBuilder("group of ");
|
||||
boolean first=true;
|
||||
for (Node n : nodes) {
|
||||
if(buf.length()>80) {
|
||||
buf.append(",...");
|
||||
break;
|
||||
}
|
||||
if(!first) buf.append(',');
|
||||
else first=false;
|
||||
buf.append(n.getNodeName());
|
||||
|
||||
Reference in new issue
Block a user