Rails3: view: html_safe for timelog/report.html.erb
Contributed by Eric Cline. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8450 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
09e4fd0500
commit
48fae14403
@ -50,7 +50,7 @@
|
||||
<%= render :partial => 'report_criteria', :locals => {:criterias => @report.criteria, :hours => @report.hours, :level => 0} %>
|
||||
<tr class="total">
|
||||
<td><%= l(:label_total) %></td>
|
||||
<%= '<td></td>' * (@report.criteria.size - 1) %>
|
||||
<%= ('<td></td>' * (@report.criteria.size - 1)).html_safe %>
|
||||
<% total = 0 -%>
|
||||
<% @report.periods.each do |period| -%>
|
||||
<% sum = sum_hours(select_hours(@report.hours, @report.columns, period.to_s)); total += sum -%>
|
||||
|
Loading…
x
Reference in New Issue
Block a user