diff --git a/Bugzilla/Report.pm b/Bugzilla/Report.pm index 89ec40f18..9bf34eed3 100644 --- a/Bugzilla/Report.pm +++ b/Bugzilla/Report.pm @@ -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'; } diff --git a/skins/standard/reports.css b/skins/standard/reports.css index 8b67e4a7c..fb9e049b3 100644 --- a/skins/standard/reports.css +++ b/skins/standard/reports.css @@ -61,3 +61,7 @@ vertical-align: middle; min-width: 8em; } + +table.report td { + min-width: 2em; +} diff --git a/template/en/default/reports/report-table.html.tmpl b/template/en/default/reports/report-table.html.tmpl index 83c56d8c6..ede67a7e3 100644 --- a/template/en/default/reports/report-table.html.tmpl +++ b/template/en/default/reports/report-table.html.tmpl @@ -73,7 +73,7 @@ END; %] [% row_idx = 0 %] [% mlist = (measure == 'times' ? [ 'etime', 'wtime', 'rtime' ] : [ measure ]) %] - +
[% IF col_field %]
diff --git a/template/en/default/reports/report.html.tmpl b/template/en/default/reports/report.html.tmpl index f5b5b451d..49aafe2f5 100644 --- a/template/en/default/reports/report.html.tmpl +++ b/template/en/default/reports/report.html.tmpl @@ -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 %]