@@ -157,6 +157,8 module Redmine | |||
|
157 | 157 | |
|
158 | 158 | @subjects_rendered = true unless options[:only] == :lines |
|
159 | 159 | @lines_rendered = true unless options[:only] == :subjects |
|
160 | ||
|
161 | render_end(options) | |
|
160 | 162 | end |
|
161 | 163 | |
|
162 | 164 | def render_project(project, options={}) |
@@ -222,6 +224,13 module Redmine | |||
|
222 | 224 | end |
|
223 | 225 | end |
|
224 | 226 | |
|
227 | def render_end(options={}) | |
|
228 | case options[:format] | |
|
229 | when :pdf | |
|
230 | options[:pdf].Line(15, options[:top], PDF::TotalWidth, options[:top]) | |
|
231 | end | |
|
232 | end | |
|
233 | ||
|
225 | 234 | def subject_for_project(project, options) |
|
226 | 235 | case options[:format] |
|
227 | 236 | when :html |
@@ -929,8 +938,6 module Redmine | |||
|
929 | 938 | :pdf => pdf |
|
930 | 939 | } |
|
931 | 940 | render(options) |
|
932 | ||
|
933 | pdf.Line(15, top, subject_width+g_width, top) | |
|
934 | 941 | pdf.Output |
|
935 | 942 | end |
|
936 | 943 |
General Comments 0
You need to be logged in to leave comments.
Login now