Redmine/app/views/projects/export_issues_pdf.rfpdf

10 lines
234 B
Plaintext

<% pdf=IfpdfHelper::IFPDF.new
pdf.AliasNbPages
pdf.footer_date = format_date(Date.today)
@issues.each {|i|
pdf.AddPage
render :partial => 'issues/pdf', :locals => { :pdf => pdf, :issue => i }
}
%>
<%= pdf.Output %>