diff --git app/helpers/application_helper.rb app/helpers/application_helper.rb index c4d9917..46c9a74 100644 --- app/helpers/application_helper.rb +++ app/helpers/application_helper.rb @@ -83,10 +83,14 @@ module ApplicationHelper end end only_path = options[:only_path].nil? ? true : options[:only_path] + # Ennder 2016/04/06 #21037 + text = h("(#{issue.project}) - ") + text if options[:project] + s = link_to(text, issue_url(issue, :only_path => only_path), :class => issue.css_classes, :title => title) s << h(": #{subject}") if subject - s = h("#{issue.project} - ") + s if options[:project] + # Ennder 2016/04/06 #21037 + #s = h("#{issue.project} - ") + s if options[:project] s end