Fix etime/wtime/rtime reports
parent
3f66ba7490
commit
a4f77c4340
|
@ -225,7 +225,7 @@ sub execute
|
|||
}
|
||||
|
||||
# If the user has no access to the measured column, reset it to 'count'
|
||||
if (!Bugzilla::Search->COLUMNS($runner)->{$measures->{$measure}})
|
||||
if (!Bugzilla::Search->COLUMNS($runner)->{$measure eq 'times' ? 'remaining_time' : $measures->{$measure}})
|
||||
{
|
||||
$measure = 'count';
|
||||
}
|
||||
|
|
|
@ -61,3 +61,7 @@
|
|||
vertical-align: middle;
|
||||
min-width: 8em;
|
||||
}
|
||||
|
||||
table.report td {
|
||||
min-width: 2em;
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ END; %]
|
|||
[% row_idx = 0 %]
|
||||
[% mlist = (measure == 'times' ? [ 'etime', 'wtime', 'rtime' ] : [ measure ]) %]
|
||||
|
||||
<table border="1" style="border-collapse: collapse">
|
||||
<table class="report" border="1" style="border-collapse: collapse">
|
||||
[% IF col_field %]
|
||||
<tr>
|
||||
<td class="[% classes.$row_idx.$col_idx %]">
|
||||
|
|
|
@ -66,6 +66,7 @@
|
|||
.t4 { background-color: #c3d3ed } /* darker blue */
|
||||
.ttotal { background-color: #cfffdf } /* light green */
|
||||
"
|
||||
style_urls = ['skins/standard/reports.css']
|
||||
header_addl_info = time
|
||||
%]
|
||||
|
||||
|
|
Loading…
Reference in New Issue