From 5df6bb88ffa9d4209da00114b7a0fd52ce6056cd Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 2 Dec 2012 11:34:46 -0800 Subject: [PATCH] - web: workunit display tweak --- html/inc/result.inc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/html/inc/result.inc b/html/inc/result.inc index a108073b19..03eafc5992 100644 --- a/html/inc/result.inc +++ b/html/inc/result.inc @@ -349,11 +349,11 @@ function result_table_start($show_wu_link, $show_host_link, $info) { } if ($show_wu_link) { echo "".tra("Work unit")."
".tra("click for details")."\n"; - } - if (function_exists('project_result_info_heading')) { - $x = project_result_info_heading(); - if ($x) { - echo "$x\n"; + if (function_exists('project_result_info_heading')) { + $x = project_result_info_heading(); + if ($x) { + echo "$x\n"; + } } } if ($show_host_link) { @@ -413,11 +413,11 @@ function show_result_row( echo "id\">$x\n"; if ($show_wu_link) { echo "workunitid\">$result->workunitid\n"; - } - if (function_exists('project_result_info_link')) { - $x = project_result_info_link($result); - if ($x) { - echo "$x\n"; + if (function_exists('project_result_info_link')) { + $x = project_result_info_link($result); + if ($x) { + echo "$x\n"; + } } } if ($show_host_link) {