##// END OF EJS Templates
Reverting commit r1748. Some environments are not allowing the cached file to...
Reverting commit r1748. Some environments are not allowing the cached file to write to public, causing all JavaScript to fail. Javascripts are now cached into a single file for downloads in production mode. #1186 git-svn-id: http://redmine.rubyforge.org/svn/trunk@1771 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r1489:d446469f5d2d
r1770:8f3a04ce6906
Show More
_report_criteria.rhtml
19 lines | 926 B | text/html+ruby | RhtmlLexer
/ app / views / timelog / _report_criteria.rhtml
Jean-Philippe Lang
Custom fields (list and boolean) can be used as criteria in time report (#1012)....
r1325 <% @hours.collect {|h| h[criterias[level]].to_s}.uniq.each do |value| %>
Jean-Philippe Lang
Propagates time tracking to the parent project (closes #433). Time report enhancements....
r1162 <% 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 %>">
Jean-Philippe Lang
Added time report....
r569 <%= '<td></td>' * level %>
Jean-Philippe Lang
Removes constraint on enumerations name (#1384)....
r1489 <td><%= h(format_criteria_value(criterias[level], value)) %></td>
Jean-Philippe Lang
Propagates time tracking to the parent project (closes #433). Time report enhancements....
r1162 <%= '<td></td>' * (criterias.length - level - 1) -%>
Jean-Philippe Lang
Various timelog report enhancements:...
r1311 <% total = 0 -%>
Jean-Philippe Lang
Propagates time tracking to the parent project (closes #433). Time report enhancements....
r1162 <% @periods.each do |period| -%>
Jean-Philippe Lang
Various timelog report enhancements:...
r1311 <% sum = sum_hours(select_hours(hours_for_value, @columns, period.to_s)); total += sum -%>
Jean-Philippe Lang
Propagates time tracking to the parent project (closes #433). Time report enhancements....
r1162 <td class="hours"><%= html_hours("%.2f" % sum) if sum > 0 %></td>
<% end -%>
Jean-Philippe Lang
Various timelog report enhancements:...
r1311 <td class="hours"><%= html_hours("%.2f" % total) if total > 0 %></td>
Jean-Philippe Lang
Added time report....
r569 </tr>
Jean-Philippe Lang
Propagates time tracking to the parent project (closes #433). Time report enhancements....
r1162 <% if criterias.length > level+1 -%>
Jean-Philippe Lang
Added time report....
r569 <%= render(:partial => 'report_criteria', :locals => {:criterias => criterias, :hours => hours_for_value, :level => (level + 1)}) %>
Jean-Philippe Lang
Propagates time tracking to the parent project (closes #433). Time report enhancements....
r1162 <% end -%>
Jean-Philippe Lang
Added time report....
r569
<% end %>