@@ -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={}) |
@@ -221,6 +223,13 module Redmine | |||
|
221 | 223 | options[:indent] -= options[:indent_increment] |
|
222 | 224 | end |
|
223 | 225 | end |
|
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 | |
|
224 | 233 | |
|
225 | 234 | def subject_for_project(project, options) |
|
226 | 235 | case options[:format] |
@@ -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