Patch #13774 » patch_warning_on_csv_export_v2.diff
| app/controllers/issues_controller.rb | ||
|---|---|---|
|
else
|
||
|
@limit = per_page_option
|
||
|
end
|
||
|
|
||
|
@csv_limit = Setting.issues_export_limit.to_i
|
||
|
@issue_count = @query.issue_count
|
||
|
@issue_pages = Paginator.new @issue_count, @limit, params['page']
|
||
| app/views/issues/index.html.erb | ||
|---|---|---|
|
<% other_formats_links do |f| %>
|
||
|
<%= f.link_to 'Atom', :url => params.merge(:key => User.current.rss_key) %>
|
||
|
<%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %>
|
||
|
<%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '350px'); return false;" %>
|
||
|
<%= f.link_to 'PDF', :url => params %>
|
||
|
<% end %>
|
||
|
<div id="csv-export-options" style="display:none;">
|
||
|
<h3 class="title"><%= l(:label_export_options, :export_format => 'CSV') %></h3>
|
||
|
|
||
|
<% if @issue_count > @csv_limit%>
|
||
|
<div class="flash warning">
|
||
|
<%= l(:warning_export_limit, :export => @csv_limit, :total => @issue_count) %>
|
||
|
</div>
|
||
|
<% end %>
|
||
|
|
||
|
<%= form_tag(params.merge({:format => 'csv',:page=>nil}), :method => :get, :id => 'csv-export-form') do %>
|
||
|
<p>
|
||
|
<label><%= radio_button_tag 'columns', '', true %> <%= l(:description_selected_columns) %></label><br />
|
||
| config/locales/de.yml | ||
|---|---|---|
|
label_today: heute
|
||
|
label_topic_plural: Themen
|
||
|
label_total: Gesamtzahl
|
||
|
label_total_time: Gesamtzeit
|
||
|
label_tracker: Tracker
|
||
|
label_tracker_new: Neuer Tracker
|
||
|
label_tracker_plural: Tracker
|
||
| ... | ... | |
|
version_status_open: offen
|
||
|
warning_attachments_not_saved: "%{count} Datei(en) konnten nicht gespeichert werden."
|
||
|
label_total_time: Gesamtzeit
|
||
|
warning_export_limit: "Der Export wird nur %{export} von %{total} Tickets enthalten!"
|
||
| config/locales/en-GB.yml | ||
|---|---|---|
|
field_generate_password: Generate password
|
||
|
setting_default_projects_tracker_ids: Default trackers for new projects
|
||
|
label_total_time: Total
|
||
|
warning_export_limit: "Export contains only %{export} of %{total}! issues!"
|
||
| config/locales/en.yml | ||
|---|---|---|
|
description_date_from: Enter start date
|
||
|
description_date_to: Enter end date
|
||
|
text_repository_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.<br />Once saved, the identifier cannot be changed.'
|
||
|
warning_export_limit: "Export contains only %{export} of %{total}! issues!"
|
||
- « Previous
- 1
- 2
- 3
- Next »