@@ -66,7 +66,7 class IssuesController < ApplicationController | |||||
66 | :offset => @issue_pages.current.offset |
|
66 | :offset => @issue_pages.current.offset | |
67 | respond_to do |format| |
|
67 | respond_to do |format| | |
68 | format.html { render :template => 'issues/index.rhtml', :layout => !request.xhr? } |
|
68 | format.html { render :template => 'issues/index.rhtml', :layout => !request.xhr? } | |
69 | format.atom { render_feed(@issues, :title => l(:label_issue_plural)) } |
|
69 | format.atom { render_feed(@issues, :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") } | |
70 | format.csv { send_data(issues_to_csv(@issues, @project).read, :type => 'text/csv; header=present', :filename => 'export.csv') } |
|
70 | format.csv { send_data(issues_to_csv(@issues, @project).read, :type => 'text/csv; header=present', :filename => 'export.csv') } | |
71 | format.pdf { send_data(render(:template => 'issues/index.rfpdf', :layout => false), :type => 'application/pdf', :filename => 'export.pdf') } |
|
71 | format.pdf { send_data(render(:template => 'issues/index.rfpdf', :layout => false), :type => 'application/pdf', :filename => 'export.pdf') } | |
72 | end |
|
72 | end |
General Comments 0
You need to be logged in to leave comments.
Login now