public
Fork of edavis10/redmine
Description: A fork of Redmine with Texuna Technologies patches applied.
Homepage: http://www.redmine.org
Clone URL: git://github.com/artemv/redmine_tt.git
continued #1671: 'remaining time' is now a link to contributing issues list
artemv (author)
Tue Sep 16 03:21:37 -0700 2008
commit  177c5ac76913ad7576978f7946556b98392e741d
tree    719a4cf2dcde6b8c650ab82a2675cd6ec4c728a8
parent  29f5d97ef172e4106faf127a5191940a440028b9
...
35
36
37
38
 
 
 
 
 
 
 
 
 
39
40
41
...
35
36
37
 
38
39
40
41
42
43
44
45
46
47
48
49
0
@@ -35,7 +35,15 @@
0
 </tr>
0
 <tr>
0
     <td class="label"><%= l(:label_remaining_time) %></td>
0
-    <td class="total-hours"><%= html_hours(lwr(:label_f_hour, @version.remaining_hours)) %></td>
0
+    <td class="total-hours"><%= link_to(html_hours(lwr(:label_f_hour, @version.remaining_hours)),
0
+        {:controller => 'issues', 
0
+        :action => 'index',
0
+        :project_id => @version.project,
0
+        :set_filter => 1,
0
+        :fields => ["fixed_version_id", "status_id"],
0
+        :operators => {"fixed_version_id" => "=", "status_id" => "undone"},
0
+        :values => {"fixed_version_id" => [@version], "status_id" => [1]},
0
+        }) %></td>
0
 </tr>
0
 <tr>
0
     <% title = "#{l(:label_spent_time)} + #{l(:label_remaining_time)}" %>

Comments