Reverse the order of the notes. Put the most recent on top. Remove unnecessary check for bad mail time.
git-svn-id: svn://10.0.0.236/trunk@34510 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -237,8 +237,7 @@ sub load_buildlog {
|
||||
binaryname => $binaryname,
|
||||
td => $t
|
||||
};
|
||||
if ($mailtime > 0
|
||||
and ($form{noignore} or not $t->{ignore_builds}->{$buildname})) {
|
||||
if ($form{noignore} or not $t->{ignore_builds}->{$buildname}) {
|
||||
push @{$build_list}, $buildrec;
|
||||
}
|
||||
}
|
||||
@@ -443,8 +442,9 @@ sub load_notes {
|
||||
$noteid = $build_table->[$ti][$bi]->{noteid};
|
||||
$now_str = &print_time($nnow);
|
||||
$note = &url_decode($nenc_note);
|
||||
$note_array[$noteid] .= "<pre>\n[<b><a href=mailto:$nwho>"
|
||||
."$nwho</a> - $now_str</b>]\n$note\n</pre>";
|
||||
$note_array[$noteid] = "<pre>\n[<b><a href=mailto:$nwho>"
|
||||
."$nwho</a> - $now_str</b>]\n$note\n</pre>"
|
||||
.$note_array[$noteid];
|
||||
}
|
||||
}
|
||||
close(NOTES);
|
||||
|
||||
Reference in New Issue
Block a user