summaryrefslogtreecommitdiffstats
path: root/app/views/projects/export_issues_pdf.rfpdf
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/export_issues_pdf.rfpdf')
-rw-r--r--app/views/projects/export_issues_pdf.rfpdf11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/projects/export_issues_pdf.rfpdf b/app/views/projects/export_issues_pdf.rfpdf
new file mode 100644
index 000000000..2e0acf54b
--- /dev/null
+++ b/app/views/projects/export_issues_pdf.rfpdf
@@ -0,0 +1,11 @@
+<% pdf=IfpdfHelper::IFPDF.new
+ pdf.AliasNbPages
+ pdf.footer_date = format_date(Date.today)
+ pdf.AddPage
+ @issues.each {|i|
+ render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => i }
+ pdf.AddPage
+ }
+%>
+
+<%= pdf.Output %> \ No newline at end of file