[Buildbot-commits] buildbot/buildbot/changes changes.py,1.34,1.35

Brian Warner warner at users.sourceforge.net
Tue Aug 14 03:51:46 UTC 2007


Update of /cvsroot/buildbot/buildbot/buildbot/changes
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv24586/buildbot/changes

Modified Files:
	changes.py 
Log Message:
[project @ Change: add a tooltip that shows the checkin comments when you hover over the Change entry]

Original author: warner at lothar.com
Date: 2007-08-14 03:50:51+00:00

Index: changes.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/changes/changes.py,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- changes.py	2 Aug 2007 00:26:59 -0000	1.34
+++ changes.py	14 Aug 2007 03:51:44 -0000	1.35
@@ -110,7 +110,9 @@
         pointing at the passed-in 'url'.
         """
         who = self.getShortAuthor()
-        return '<a href="%s">%s</a>' % (url, html.escape(who))
+        return '<a href="%s" title="%s">%s</a>' % (url,
+                                                   html.escape(self.comments),
+                                                   html.escape(who))
 
     def getShortAuthor(self):
         return self.who





More information about the Commits mailing list