Commit f304db03 authored by wicked%sci.fi's avatar wicked%sci.fi

Bug 472274: Solid black line on the timetracking summary row of buglist looks…

Bug 472274: Solid black line on the timetracking summary row of buglist looks too heavy, use lighter approach suggested by Aaron Larson - Patch by Teemu Mannermaa <wicked@sci.fi> r/a=mkanat
parent f80effd9
......@@ -78,13 +78,14 @@ td.bz_percentage_complete_column {
text-align: right;
}
tr.bz_time_summary_line {
background: black;
color: white;
}
td.bz_total_label {
font-weight: bold;
}
td.bz_total {
border-top-style: solid;
border-top-color: #929bb1;
border-top-width: 3px;
text-align: right;
}
......
......@@ -235,16 +235,19 @@
column == 'estimated_time' ||
column == 'percentage_complete' %]
[% IF columns_to_span > 0 %]
<td class="bz_total_label" colspan="[% columns_to_span FILTER html %]"><b>Totals</b></td>
<td class="bz_total bz_total_label" colspan="
[%- columns_to_span FILTER html %]"><b>Totals</b></td>
[% columns_to_span = 0 %]
[% END %]
[% IF column == 'percentage_complete' %]
<td>[% time_info.percentage_complete FILTER format(abbrev.$column.format_value) FILTER html -%]</td>
<td class="bz_total">[% time_info.percentage_complete
FILTER format(abbrev.$column.format_value) FILTER html %]</td>
[% ELSE %]
<td>[% PROCESS formattimeunit time_unit=time_info.$column %]</td>
<td class="bz_total">
[%- PROCESS formattimeunit time_unit=time_info.$column %]</td>
[% END %]
[% ELSIF columns_to_span == 0 %] [%# A column following the first total %]
<td>&nbsp;</td>
<td class="bz_total">&nbsp;</td>
[% ELSE %] [%# We haven't gotten to a time column yet, keep computing span %]
[% columns_to_span = columns_to_span + 1 %]
[% END %]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment