]> source.dussan.org Git - redmine.git/commitdiff
Adds project name to issues feed title (#1323).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 6 Jul 2008 13:47:59 +0000 (13:47 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 6 Jul 2008 13:47:59 +0000 (13:47 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1641 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issues_controller.rb

index 6014116b328ad3945848bb82806f47ce9e2c8e4a..1e57f1f877cf6306f2490b148c651b440aa1cfdf 100644 (file)
@@ -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