summaryrefslogtreecommitdiff
path: root/tko
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2007-10-07 00:49:25 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2007-10-07 00:49:25 +0000
commit7bc3d7566e826be2a4bcd1fbef4e4fe3e9edce2c (patch)
tree63b138497339c827f705d3f8e74f2a306f0fea59 /tko
parent2afad888bf44133da561769b5aa1f482db4041ee (diff)
Fix display.box() calls to use link arg in machine_kernel_test.cgi
git-svn-id: svn://test.kernel.org/autotest/trunk@768 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'tko')
-rwxr-xr-xtko/machine_kernel_test.cgi8
1 files changed, 2 insertions, 6 deletions
diff --git a/tko/machine_kernel_test.cgi b/tko/machine_kernel_test.cgi
index f87f2db3..c760e18e 100755
--- a/tko/machine_kernel_test.cgi
+++ b/tko/machine_kernel_test.cgi
@@ -57,12 +57,8 @@ def print_kernel_machines_vs_test(machines, kernel):
if not results[machine.idx].has_key(testname):
continue
test = results[machine.idx][testname]
- if test.url:
- html = '<a href="%s">%s</a>' % \
- (test.url, test.status_word)
- else:
- html = test.status_word
- box = display.box(html, color_key = test.status_word)
+ box = display.box(test.status_word,
+ color_key = test.status_word, link = test.url)
row.append(box)
matrix.append(row)
matrix.append(header_row)