mirror of https://github.com/BOINC/boinc.git
- web: add hook for "science info" link in result lists (for CAS@home)
This commit is contained in:
parent
2a120631a4
commit
ddf4551108
|
@ -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
|
||||
|
|
|
@ -350,6 +350,9 @@ function result_table_start($show_wu_link, $show_host_link, $info) {
|
|||
if ($show_wu_link) {
|
||||
echo "<th>".tra("Work unit")."<br><span class=\"smalltext\">".tra("click for details")."</span></th>\n";
|
||||
}
|
||||
if (function_exists('project_result_info_heading')) {
|
||||
echo "<th>", project_result_info_heading(), "</th>\n";
|
||||
}
|
||||
if ($show_host_link) {
|
||||
echo "<th>".tra("Computer")."</th>\n";
|
||||
}
|
||||
|
@ -408,6 +411,9 @@ function show_result_row(
|
|||
if ($show_wu_link) {
|
||||
echo "<td><a href=\"workunit.php?wuid=$result->workunitid\">$result->workunitid</a></td>\n";
|
||||
}
|
||||
if (function_exists('project_result_info_link')) {
|
||||
echo "<td>", project_result_info_link($result), "</td>\n";
|
||||
}
|
||||
if ($show_host_link) {
|
||||
echo "<td>", host_link($result->hostid), "</td>\n";
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue