def export_pdf
@custom_values = @issue.custom_values.find(:all, :include => :custom_field)
@options_for_rfpdf ||= {}
- @options_for_rfpdf[:file_name] = "#{@project.name}_#{@issue.long_id}.pdf"
+ @options_for_rfpdf[:file_name] = "#{@project.name}_#{@issue.id}.pdf"
end
def edit
def after_save
relations_from.each(&:set_issue_to_dates)
- end
-
- def long_id
- "%05d" % self.id
end
def custom_value_for(custom_field)
<% pdf.SetFontStyle('B',11) \r
- pdf.Cell(190,10, "#{issue.project.name} - #{issue.tracker.name} # #{issue.long_id} - #{issue.subject}")\r
+ pdf.Cell(190,10, "#{issue.project.name} - #{issue.tracker.name} # #{issue.id}: #{issue.subject}")\r
pdf.Ln\r
\r
y0 = pdf.GetY\r
<div class="box">
<p><label><%= l(:label_issue_plural) %>:</label>
<% for issue in @issues %>
- <b><%= link_to issue.long_id, :controller => 'issues', :action => 'show', :id => issue %></b> - <%=h issue.subject %>
+ <%= link_to_issue issue %>: <%=h issue.subject %>
<%= hidden_field_tag "issue_ids[]", issue.id %><br />
<% end %>
<i>(<%= @issues.length%> <%= lwr(:label_issue, @issues.length)%>)</i></p>