]> source.dussan.org Git - redmine.git/commitdiff
Title property added for generated pdf gantt
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 3 Feb 2007 14:08:47 +0000 (14:08 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 3 Feb 2007 14:08:47 +0000 (14:08 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@225 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/projects/gantt.rfpdf

index 8b8afb85d8b8671d9ddd5a6e52804bb816dc1f3c..780b2d90025c4519be5f5dc76a55676bbdd07c66 100644 (file)
@@ -1,5 +1,6 @@
 <%\r
 pdf=IfpdfHelper::IFPDF.new\r
+pdf.SetTitle("#{@project.name} - #{l(:label_gantt)}")\r
 pdf.AliasNbPages\r
 pdf.footer_date = format_date(Date.today)\r
 pdf.AddPage("L")\r