Fix tree links.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 4 Dec 2010 03:01:51 +0000 (04:01 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 4 Dec 2010 03:01:51 +0000 (04:01 +0100)
buildfarm/web/__init__.py

index 1a210ef..b8ef478 100755 (executable)
@@ -134,7 +134,7 @@ def tree_uri(myself, tree):
 
 def tree_link(myself, tree):
     """return a link to a particular tree"""
-    return "<a href='%s' title='View recent builds for %s'>%s:%s</a>" % (tree.name, tree.name, tree.branch)
+    return "<a href='%s' title='View recent builds for %s'>%s:%s</a>" % (tree_uri(myself, tree), tree.name, tree.name, tree.branch)
 
 
 def host_uri(myself, host):