mirror of
https://github.com/redmine/redmine.git
synced 2026-07-07 13:12:36 +02:00
Rails3: use String#html_hours for principals_check_box_tags() at ApplicationHelper.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6481 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -322,7 +322,7 @@ module ApplicationHelper
|
||||
end
|
||||
|
||||
def html_hours(text)
|
||||
text.gsub(%r{(\d+)\.(\d+)}, '<span class="hours hours-int">\1</span><span class="hours hours-dec">.\2</span>')
|
||||
text.gsub(%r{(\d+)\.(\d+)}, '<span class="hours hours-int">\1</span><span class="hours hours-dec">.\2</span>').html_safe
|
||||
end
|
||||
|
||||
def authoring(created, author, options={})
|
||||
|
||||
Reference in New Issue
Block a user