Slight change to time report style.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8094 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
6a1830e9e3
commit
e5bea933a8
|
@ -1,7 +1,7 @@
|
||||||
<% @report.hours.collect {|h| h[criterias[level]].to_s}.uniq.each do |value| %>
|
<% @report.hours.collect {|h| h[criterias[level]].to_s}.uniq.each do |value| %>
|
||||||
<% hours_for_value = select_hours(hours, criterias[level], value) -%>
|
<% hours_for_value = select_hours(hours, criterias[level], value) -%>
|
||||||
<% next if hours_for_value.empty? -%>
|
<% next if hours_for_value.empty? -%>
|
||||||
<tr class="<%= cycle('odd', 'even') %> <%= 'last-level' unless criterias.length > level+1 %>">
|
<tr class="<%= cycle('odd', 'even') %> <%= criterias.length > level+1 ? 'subtotal' : 'last-level' %>">
|
||||||
<%= '<td></td>' * level %>
|
<%= '<td></td>' * level %>
|
||||||
<td><%= h(format_criteria_value(@report.available_criteria[criterias[level]], value)) %></td>
|
<td><%= h(format_criteria_value(@report.available_criteria[criterias[level]], value)) %></td>
|
||||||
<%= '<td></td>' * (criterias.length - level - 1) -%>
|
<%= '<td></td>' * (criterias.length - level - 1) -%>
|
||||||
|
|
|
@ -360,9 +360,9 @@ div#version-summary fieldset { margin-bottom: 1em; }
|
||||||
div#version-summary .total-hours { text-align: right; }
|
div#version-summary .total-hours { text-align: right; }
|
||||||
|
|
||||||
table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
|
table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
|
||||||
table#time-report tbody tr { font-style: italic; color: #777; }
|
table#time-report tbody tr.subtotal { font-style: italic; color:#777;}
|
||||||
table#time-report tbody tr.last-level { font-style: normal; color: #555; }
|
table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; }
|
||||||
table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; }
|
table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;}
|
||||||
table#time-report .hours-dec { font-size: 0.9em; }
|
table#time-report .hours-dec { font-size: 0.9em; }
|
||||||
|
|
||||||
div.wiki-page .contextual a {opacity: 0.4}
|
div.wiki-page .contextual a {opacity: 0.4}
|
||||||
|
|
Loading…
Reference in New Issue