mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-10 17:41:31 +00:00
cleanup: rubocop: fix Layout/AlignArguments in ApplicationHelper#progress_bar
git-svn-id: http://svn.redmine.org/redmine/trunk@18870 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c82ce3e20c
commit
b6605e3550
@ -1439,8 +1439,10 @@ module ApplicationHelper
|
||||
titles = options[:titles].to_a
|
||||
titles[0] = "#{pcts[0]}%" if titles[0].blank?
|
||||
legend = options[:legend] || ''
|
||||
content_tag('table',
|
||||
content_tag('tr',
|
||||
content_tag(
|
||||
'table',
|
||||
content_tag(
|
||||
'tr',
|
||||
(pcts[0] > 0 ? content_tag('td', '', :style => "width: #{pcts[0]}%;", :class => 'closed', :title => titles[0]) : ''.html_safe) +
|
||||
(pcts[1] > 0 ? content_tag('td', '', :style => "width: #{pcts[1]}%;", :class => 'done', :title => titles[1]) : ''.html_safe) +
|
||||
(pcts[2] > 0 ? content_tag('td', '', :style => "width: #{pcts[2]}%;", :class => 'todo', :title => titles[2]) : ''.html_safe)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user