Project

General

Profile

Patch #3086 » patch.txt

Brad Beattie, 2009-03-31 19:47

 
1
### Eclipse Workspace Patch 1.0
2
#P Redmine
3
Index: app/helpers/queries_helper.rb
4
===================================================================
5
--- app/helpers/queries_helper.rb	(revision 2642)
6
+++ app/helpers/queries_helper.rb	(working copy)
7
@@ -42,6 +42,12 @@
8
         when :subject
9
         h((!@project.nil? && @project != issue.project) ? "#{issue.project.name} - " : '') +
10
           link_to(h(value), :controller => 'issues', :action => 'show', :id => issue)
11
+        when :project
12
+          link_to(h(value), :controller => 'projects', :action => 'show', :id => value)
13
+        when :assigned_to
14
+          link_to(h(value), :controller => 'account', :action => 'show', :id => value)
15
+        when :author
16
+          link_to(h(value), :controller => 'account', :action => 'show', :id => value)
17
         when :done_ratio
18
           progress_bar(value, :width => '80px')
19
         when :fixed_version
(2-2/2)