Only the jobs of the past few days are shown so the date is not very useful. Delegating it to a tooltip avoids much line-wrapping in the Submitted column, allowing more lines to fit on-screen.
Signed-off-by: Francois Gouget fgouget@codeweavers.com --- testbot/web/index.pl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/testbot/web/index.pl b/testbot/web/index.pl index 331ee85ea..4048cacd3 100644 --- a/testbot/web/index.pl +++ b/testbot/web/index.pl @@ -46,7 +46,8 @@ sub DisplayProperty($$) return !1; }
- return $self->SUPER::DisplayProperty($PropertyDescriptor); + return $PropertyName eq "Submitted" ? ("ro", "timetipdate") : + $self->SUPER::DisplayProperty($PropertyDescriptor); }
sub GenerateHeaderView($$$) @@ -58,6 +59,10 @@ sub GenerateHeaderView($$$) { print "<a class='title' title='Higher values indicate a lower priority'>Nice</a>"; } + elsif ($PropertyName eq "Submitted") + { + print "<a class='title' title='Date'>Submitted</a>"; + } elsif ($PropertyName eq "Ended") { print "<a class='title' title='Ended'>Time</a>";