Project

General



Profile

« Previous | Next » 

Revision 2582

Fixes broken CSV link on cross-project timelog report (#2941).

View differences:

trunk/app/views/timelog/details.rhtml
9 9
<% form_remote_tag( :url => {}, :html => {:method => :get}, :method => :get, :update => 'content' ) do %>
10 10
<%# TOOD: remove the project_id and issue_id hidden fields, that information is
11 11
already in the URI %>
12
<%= hidden_field_tag 'project_id', params[:project_id] %>
12
<%= hidden_field_tag('project_id', params[:project_id]) if @project %>
13 13
<%= hidden_field_tag 'issue_id', params[:issue_id] if @issue %>
14 14
<%= render :partial => 'date_range' %>
15 15
<% end %>
trunk/app/views/timelog/report.rhtml
11 11
    <%= hidden_field_tag 'criterias[]', criteria, :id => nil %>
12 12
  <% end %>
13 13
  <%# TODO: get rid of the project_id field, that should already be in the URL %>
14
  <%= hidden_field_tag 'project_id', params[:project_id] %>
14
  <%= hidden_field_tag('project_id', params[:project_id]) if @project %>
15 15
  <%= render :partial => 'date_range' %>
16 16

  
17 17
  <p><%= l(:label_details) %>: <%= select_tag 'columns', options_for_select([[l(:label_year), 'year'],

Also available in: Unified diff