gantt: code layout cleanup render method of lib/redmine/helpers/gantt.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10344 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
abcfbd9c75
commit
a2edef9035
|
@ -168,7 +168,9 @@ module Redmine
|
|||
end
|
||||
|
||||
def render(options={})
|
||||
options = {:top => 0, :top_increment => 20, :indent_increment => 20, :render => :subject, :format => :html}.merge(options)
|
||||
options = {:top => 0, :top_increment => 20,
|
||||
:indent_increment => 20, :render => :subject,
|
||||
:format => :html}.merge(options)
|
||||
indent = options[:indent] || 4
|
||||
@subjects = '' unless options[:only] == :lines
|
||||
@lines = '' unless options[:only] == :subjects
|
||||
|
|
Loading…
Reference in New Issue