From: Eric Davis Date: Wed, 6 May 2009 04:47:20 +0000 (+0000) Subject: Link projects and users in the issue list. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0985d4219cdf353197cbf51bf818b5625020e9ee;p=redminele%2Fredmine.git Link projects and users in the issue list. #3086 git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2713 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index b41e66af..62979172 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -42,6 +42,12 @@ module QueriesHelper when :subject h((!@project.nil? && @project != issue.project) ? "#{issue.project.name} - " : '') + link_to(h(value), :controller => 'issues', :action => 'show', :id => issue) + when :project + link_to(h(value), :controller => 'projects', :action => 'show', :id => value) + when :assigned_to + link_to(h(value), :controller => 'account', :action => 'show', :id => value) + when :author + link_to(h(value), :controller => 'account', :action => 'show', :id => value) when :done_ratio progress_bar(value, :width => '80px') when :fixed_version