##// END OF EJS Templates
Clean up ticket auto links....
Jean-Philippe Lang -
r2927:bc37fcee74cf
parent child
Show More
@@ -502,9 +502,8 module ApplicationHelper
502 502 when nil
503 503 if issue = Issue.visible.find_by_id(oid, :include => :status)
504 504 link = link_to("##{oid}", {:only_path => only_path, :controller => 'issues', :action => 'show', :id => oid},
505 :class => (issue.closed? ? 'issue closed' : 'issue'),
505 :class => issue.css_classes,
506 506 :title => "#{truncate(issue.subject, :length => 100)} (#{issue.status.name})")
507 link = content_tag('del', link) if issue.closed?
508 507 end
509 508 when 'document'
510 509 if document = Document.find_by_id(oid, :include => [:project], :conditions => Project.visible_by(User.current))
General Comments 0
You need to be logged in to leave comments. Login now