code cleanup gantt_helper.rb

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11021 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2012-12-17 07:14:26 +00:00
parent 44413d3db7
commit dd26ac3038
1 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ module GanttHelper
params.merge(gantt.params.merge(:zoom => (gantt.zoom + 1))), params.merge(gantt.params.merge(:zoom => (gantt.zoom + 1))),
:class => 'icon icon-zoom-in' :class => 'icon icon-zoom-in'
else else
content_tag('span', l(:text_zoom_in), :class => 'icon icon-zoom-in').html_safe content_tag(:span, l(:text_zoom_in), :class => 'icon icon-zoom-in').html_safe
end end
when :out when :out
@ -36,7 +36,7 @@ module GanttHelper
params.merge(gantt.params.merge(:zoom => (gantt.zoom - 1))), params.merge(gantt.params.merge(:zoom => (gantt.zoom - 1))),
:class => 'icon icon-zoom-out' :class => 'icon icon-zoom-out'
else else
content_tag('span', l(:text_zoom_out), :class => 'icon icon-zoom-out').html_safe content_tag(:span, l(:text_zoom_out), :class => 'icon icon-zoom-out').html_safe
end end
end end
end end