Browse Source

Fixed version field on issue view page now links to the corresponding version in the roadmap.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@562 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.5.1
Jean-Philippe Lang 17 years ago
parent
commit
2dbb397818
2 changed files with 3 additions and 1 deletions
  1. 2
    0
      app/controllers/issues_controller.rb
  2. 1
    1
      app/views/issues/show.rhtml

+ 2
- 0
app/controllers/issues_controller.rb View File

@@ -21,6 +21,8 @@ class IssuesController < ApplicationController
cache_sweeper :issue_sweeper, :only => [ :edit, :change_status, :destroy ]

helper :projects
include ProjectsHelper
helper :custom_fields
include CustomFieldsHelper
helper :ifpdf

+ 1
- 1
app/views/issues/show.rhtml View File

@@ -27,7 +27,7 @@
<td><b><%=l(:field_done_ratio)%> :</b></td><td><%= @issue.done_ratio %> %</td>
</tr>
<tr>
<td><b><%=l(:field_fixed_version)%> :</b></td><td><%= @issue.fixed_version ? @issue.fixed_version.name : "-" %></td>
<td><b><%=l(:field_fixed_version)%> :</b></td><td><%= @issue.fixed_version ? link_to_version(@issue.fixed_version) : "-" %></td>
<td><b><%=l(:label_spent_time)%> :</b></td>
<td><%= @issue.spent_hours > 0 ? (link_to lwr(:label_f_hour, @issue.spent_hours), {:controller => 'timelog', :action => 'details', :issue_id => @issue}, :class => 'icon icon-time') : "-" %></td>
</tr>

Loading…
Cancel
Save