diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-05 18:40:52 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-05 18:40:52 +0000 |
commit | e5bea933a848ced4535c39619ed950801f015f7c (patch) | |
tree | 2d0c7c0ad39f7fd71392529c3b369063a05cf35f | |
parent | 6a1830e9e3829572231d3c880d703e258e0708c0 (diff) | |
download | redmine-e5bea933a848ced4535c39619ed950801f015f7c.tar.gz redmine-e5bea933a848ced4535c39619ed950801f015f7c.zip |
Slight change to time report style.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8094 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/views/timelog/_report_criteria.html.erb | 2 | ||||
-rw-r--r-- | public/stylesheets/application.css | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/timelog/_report_criteria.html.erb b/app/views/timelog/_report_criteria.html.erb index 356a7ab10..d3239ec01 100644 --- a/app/views/timelog/_report_criteria.html.erb +++ b/app/views/timelog/_report_criteria.html.erb @@ -1,7 +1,7 @@ <% @report.hours.collect {|h| h[criterias[level]].to_s}.uniq.each do |value| %> <% hours_for_value = select_hours(hours, criterias[level], value) -%> <% 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><%= h(format_criteria_value(@report.available_criteria[criterias[level]], value)) %></td> <%= '<td></td>' * (criterias.length - level - 1) -%> diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 1ee1b51e4..7c42e6f20 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -360,9 +360,9 @@ div#version-summary fieldset { margin-bottom: 1em; } 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 tbody tr { font-style: italic; color: #777; } -table#time-report tbody tr.last-level { font-style: normal; color: #555; } -table#time-report tbody tr.total { font-style: normal; font-weight: bold; color: #555; background-color:#EEEEEE; } +table#time-report tbody tr.subtotal { font-style: italic; color:#777;} +table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; } +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; } div.wiki-page .contextual a {opacity: 0.4} |