@@ -1,7 +1,7 | |||||
1 | <% @report.hours.collect {|h| h[criterias[level]].to_s}.uniq.each do |value| %> |
|
1 | <% @report.hours.collect {|h| h[criterias[level]].to_s}.uniq.each do |value| %> | |
2 | <% hours_for_value = select_hours(hours, criterias[level], value) -%> |
|
2 | <% hours_for_value = select_hours(hours, criterias[level], value) -%> | |
3 | <% next if hours_for_value.empty? -%> |
|
3 | <% next if hours_for_value.empty? -%> | |
4 |
<tr class="<%= cycle('odd', 'even') %> <%= |
|
4 | <tr class="<%= cycle('odd', 'even') %> <%= criterias.length > level+1 ? 'subtotal' : 'last-level' %>"> | |
5 | <%= '<td></td>' * level %> |
|
5 | <%= '<td></td>' * level %> | |
6 | <td><%= h(format_criteria_value(@report.available_criteria[criterias[level]], value)) %></td> |
|
6 | <td><%= h(format_criteria_value(@report.available_criteria[criterias[level]], value)) %></td> | |
7 | <%= '<td></td>' * (criterias.length - level - 1) -%> |
|
7 | <%= '<td></td>' * (criterias.length - level - 1) -%> |
@@ -360,9 +360,9 div#version-summary fieldset { margin-bottom: 1em; } | |||||
360 | div#version-summary .total-hours { text-align: right; } |
|
360 | div#version-summary .total-hours { text-align: right; } | |
361 |
|
361 | |||
362 | table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; } |
|
362 | table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; } | |
363 |
table#time-report tbody tr { font-style: italic; color: |
|
363 | table#time-report tbody tr.subtotal { font-style: italic; color:#777;} | |
364 |
table#time-report tbody tr. |
|
364 | table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; } | |
365 |
table#time-report tbody tr.total { |
|
365 | table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;} | |
366 | table#time-report .hours-dec { font-size: 0.9em; } |
|
366 | table#time-report .hours-dec { font-size: 0.9em; } | |
367 |
|
367 | |||
368 | div.wiki-page .contextual a {opacity: 0.4} |
|
368 | div.wiki-page .contextual a {opacity: 0.4} |
General Comments 0
You need to be logged in to leave comments.
Login now