summaryrefslogtreecommitdiffstats
path: root/app/views/issues/gantt.rfpdf
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues/gantt.rfpdf')
-rw-r--r--app/views/issues/gantt.rfpdf4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/gantt.rfpdf b/app/views/issues/gantt.rfpdf
index 692e0d261..be7f31a39 100644
--- a/app/views/issues/gantt.rfpdf
+++ b/app/views/issues/gantt.rfpdf
@@ -1,12 +1,12 @@
<%
pdf=IfpdfHelper::IFPDF.new(current_language)
-pdf.SetTitle("#{@project.name} - #{l(:label_gantt)}")
+pdf.SetTitle("#{l(:label_gantt)} #{@project}")
pdf.AliasNbPages
pdf.footer_date = format_date(Date.today)
pdf.AddPage("L")
pdf.SetFontStyle('B',12)
pdf.SetX(15)
-pdf.Cell(70, 20, @project.name)
+pdf.Cell(70, 20, @project.to_s)
pdf.Ln
pdf.SetFontStyle('B',9)