OSDN Git Service

Link projects and users in the issue list.
authorEric Davis <edavis@littlestreamsoftware.com>
Wed, 6 May 2009 04:47:20 +0000 (04:47 +0000)
committerEric Davis <edavis@littlestreamsoftware.com>
Wed, 6 May 2009 04:47:20 +0000 (04:47 +0000)
  #3086

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2713 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/queries_helper.rb

index b41e66a..6297917 100644 (file)
@@ -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