##// END OF EJS Templates
Rails4: replace ActionView::Helpers::TextHelper#truncate by String#truncate at ApplicationHelper#parse_redmine_links...
Toshi MARUYAMA -
r12558:ae087d757856
parent child
Show More
@@ -781,7 +781,7 module ApplicationHelper
781 {:only_path => only_path, :controller => 'issues',
781 {:only_path => only_path, :controller => 'issues',
782 :action => 'show', :id => oid, :anchor => anchor},
782 :action => 'show', :id => oid, :anchor => anchor},
783 :class => issue.css_classes,
783 :class => issue.css_classes,
784 :title => "#{truncate(issue.subject, :length => 100)} (#{issue.status.name})")
784 :title => "#{issue.subject.truncate(100)} (#{issue.status.name})")
785 end
785 end
786 when 'document'
786 when 'document'
787 if document = Document.visible.find_by_id(oid)
787 if document = Document.visible.find_by_id(oid)
General Comments 0
You need to be logged in to leave comments. Login now