mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 08:16:03 +01:00
Fixed that links for relations in notifications do not include hostname (#15677).
git-svn-id: http://svn.redmine.org/redmine/trunk@12415 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -79,7 +79,8 @@ module ApplicationHelper
|
||||
subject = truncate(subject, :length => options[:truncate])
|
||||
end
|
||||
end
|
||||
s = link_to text, issue_path(issue), :class => issue.css_classes, :title => title
|
||||
only_path = options[:only_path].nil? ? true : options[:only_path]
|
||||
s = link_to text, issue_path(issue, :only_path => only_path), :class => issue.css_classes, :title => title
|
||||
s << h(": #{subject}") if subject
|
||||
s = h("#{issue.project} - ") + s if options[:project]
|
||||
s
|
||||
|
||||
Reference in New Issue
Block a user