aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorakozak2011-11-22 08:54:38 (EST)
committerWinston Prakash2011-12-01 20:46:59 (EST)
commit6b16f32ff5ac8e5cef5328e4dac039f091ded83f (patch)
tree182db32b00bc38f8d348254e8dc42f5dbfaca6a0
parent626b40f4f1734c1dac3717946acefa61b3e046f2 (diff)
downloadorg.eclipse.hudson.core-6b16f32ff5ac8e5cef5328e4dac039f091ded83f.zip
org.eclipse.hudson.core-6b16f32ff5ac8e5cef5328e4dac039f091ded83f.tar.gz
org.eclipse.hudson.core-6b16f32ff5ac8e5cef5328e4dac039f091ded83f.tar.bz2
Fix HUDSON-8997 (Display node description when hovering on the node name)
Signed-off-by: Winston Prakash <winston.prakash@gmail.com>
-rw-r--r--hudson-core/src/main/resources/hudson/model/ComputerSet/index.jelly2
-rw-r--r--hudson-core/src/main/resources/lib/hudson/executors.jelly2
2 files changed, 2 insertions, 2 deletions
diff --git a/hudson-core/src/main/resources/hudson/model/ComputerSet/index.jelly b/hudson-core/src/main/resources/hudson/model/ComputerSet/index.jelly
index 3196a5d..da11c89 100644
--- a/hudson-core/src/main/resources/hudson/model/ComputerSet/index.jelly
+++ b/hudson-core/src/main/resources/hudson/model/ComputerSet/index.jelly
@@ -48,7 +48,7 @@
<td width="32" data="${c.icon}">
<img src="${imagesURL}/32x32/${c.icon}" width="32" height="32" alt="${c.iconAltText}"/>
</td>
- <td><a href="${rootURL}/${c.url}">${c.displayName}</a></td>
+ <td><a href="${rootURL}/${c.url}" title="${c.node!=null? c.node.nodeDescription : ''}">${c.displayName}</a></td>
<j:forEach var="m" items="${monitors}">
<j:if test="${m.columnCaption!=null}">
<j:set var="data" value="${m.data(c)}"/>
diff --git a/hudson-core/src/main/resources/lib/hudson/executors.jelly b/hudson-core/src/main/resources/lib/hudson/executors.jelly
index b94b8b0..102b57b 100644
--- a/hudson-core/src/main/resources/lib/hudson/executors.jelly
+++ b/hudson-core/src/main/resources/lib/hudson/executors.jelly
@@ -25,7 +25,7 @@
</st:documentation>
<d:taglib uri="local">
<d:tag name="computerCaption">
- <a href="${rootURL}/${c.url}">${title}</a><st:nbsp/>
+ <a href="${rootURL}/${c.url}" title="${c.node!=null? c.node.nodeDescription : ''}">${title}</a><st:nbsp/>
<j:choose>
<j:when test="${c.offline}">
${%offline}