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 /app/views/timelog | |
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
Diffstat (limited to 'app/views/timelog')
-rw-r--r-- | app/views/timelog/_report_criteria.html.erb | 2 |
1 files changed, 1 insertions, 1 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) -%> |