Defect #13618 ยป Removed-CSV-Modal-it-ignores-filters.patch
app/views/timelog/index.html.erb | ||
---|---|---|
22 | 22 | |
23 | 23 |
<% other_formats_links do |f| %> |
24 | 24 |
<%= f.link_to 'Atom', :url => params.merge({:issue_id => @issue, :key => User.current.rss_key}) %> |
25 |
<%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
|
|
25 |
<%= f.link_to 'CSV', :url => params.merge({:format => 'csv',:page=>nil}) %>
|
|
26 | 26 |
<% end %> |
27 | 27 | |
28 |
<div id="csv-export-options" style="display:none;"> |
|
29 |
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3> |
|
30 |
<%= form_tag(params.merge({:format => 'csv',:page=>nil}), :method => :get, :id => 'csv-export-form') do %> |
|
31 |
<p> |
|
32 |
<label><%= radio_button_tag 'columns', '', true %> <%= l(:description_selected_columns) %></label><br /> |
|
33 |
<label><%= radio_button_tag 'columns', 'all' %> <%= l(:description_all_columns) %></label> |
|
34 |
</p> |
|
35 |
<p class="buttons"> |
|
36 |
<%= submit_tag l(:button_export), :name => nil, :onclick => "hideModal(this);" %> |
|
37 |
<%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %> |
|
38 |
</p> |
|
39 |
<% end %> |
|
40 |
</div> |
|
41 | 28 |
<% end %> |
42 | 29 | |
43 | 30 |
<% html_title l(:label_spent_time), l(:label_details) %> |