summaryrefslogtreecommitdiffstats
path: root/app/helpers
diff options
context:
space:
mode:
authorEric Davis <edavis@littlestreamsoftware.com>2009-05-06 04:47:20 +0000
committerEric Davis <edavis@littlestreamsoftware.com>2009-05-06 04:47:20 +0000
commit0985d4219cdf353197cbf51bf818b5625020e9ee (patch)
tree6d1338b151a8f034ed5ccab79504e8d7d716e3d0 /app/helpers
parentf90b85f8be94ae5e3e73f98fdf0ab5e82815de40 (diff)
downloadredmine-0985d4219cdf353197cbf51bf818b5625020e9ee.tar.gz
redmine-0985d4219cdf353197cbf51bf818b5625020e9ee.zip
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
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/queries_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index b41e66afd..62979172a 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