diff --git a/checkin_notes b/checkin_notes index 716cc29cc1..d89b51046f 100644 --- a/checkin_notes +++ b/checkin_notes @@ -7221,3 +7221,10 @@ David 30 Nov 2012 vda/ sched_vda.cpp vda_lib2.cpp + +David 2 Dec 2012 + - web: add hook for "science info" link in result lists (for CAS@home) + + html/inc/ + result.inc + util.inc diff --git a/html/inc/result.inc b/html/inc/result.inc index c2a3d80769..f99fb20ba0 100644 --- a/html/inc/result.inc +++ b/html/inc/result.inc @@ -350,6 +350,9 @@ 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')) { + echo "", project_result_info_heading(), "\n"; + } if ($show_host_link) { echo "".tra("Computer")."\n"; } @@ -408,6 +411,9 @@ function show_result_row( if ($show_wu_link) { echo "workunitid\">$result->workunitid\n"; } + if (function_exists('project_result_info_link')) { + echo "", project_result_info_link($result), "\n"; + } if ($show_host_link) { echo "", host_link($result->hostid), "\n"; } diff --git a/html/inc/util.inc b/html/inc/util.inc index 88cd8e9f4c..b07ce5c081 100644 --- a/html/inc/util.inc +++ b/html/inc/util.inc @@ -284,7 +284,7 @@ function date_str($x) { function time_str($x) { if ($x == 0) return "---"; - return gmdate('j M Y | G:i:s', $x) . " UTC"; + return gmdate('j M Y, G:i:s', $x) . " UTC"; } function local_time_str($x) {