diff options
Diffstat (limited to 'app/views/issues/show.rfpdf')
-rw-r--r-- | app/views/issues/show.rfpdf | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/views/issues/show.rfpdf b/app/views/issues/show.rfpdf new file mode 100644 index 000000000..08f2cb92d --- /dev/null +++ b/app/views/issues/show.rfpdf @@ -0,0 +1,10 @@ +<% pdf=IfpdfHelper::IFPDF.new(current_language)
+ pdf.SetTitle("#{@project.name} - ##{@issue.tracker.name} #{@issue.id}")
+ pdf.AliasNbPages
+ pdf.footer_date = format_date(Date.today)
+ pdf.AddPage
+
+ render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => @issue }
+%>
+
+<%= pdf.Output %>
|