summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-06 13:47:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-07-06 13:47:59 +0000
commitd4f55a86fdc5aaf58db6e9f9a942f7adad68d4f6 (patch)
tree8d3e753a31b2aee3ee10d16face12182a4afdc17 /app
parent8c6c3eab5cab4ba3e849fce5dba87eb0edb25285 (diff)
downloadredmine-d4f55a86fdc5aaf58db6e9f9a942f7adad68d4f6.tar.gz
redmine-d4f55a86fdc5aaf58db6e9f9a942f7adad68d4f6.zip
Adds project name to issues feed title (#1323).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1641 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/issues_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb
index 6014116b3..1e57f1f87 100644
--- a/app/controllers/issues_controller.rb
+++ b/app/controllers/issues_controller.rb
@@ -66,7 +66,7 @@ class IssuesController < ApplicationController
:offset => @issue_pages.current.offset
respond_to do |format|
format.html { render :template => 'issues/index.rhtml', :layout => !request.xhr? }
- format.atom { render_feed(@issues, :title => l(:label_issue_plural)) }
+ format.atom { render_feed(@issues, :title => "#{@project || Setting.app_title}: #{l(:label_issue_plural)}") }
format.csv { send_data(issues_to_csv(@issues, @project).read, :type => 'text/csv; header=present', :filename => 'export.csv') }
format.pdf { send_data(render(:template => 'issues/index.rfpdf', :layout => false), :type => 'application/pdf', :filename => 'export.pdf') }
end