OSDN Git Service

Fixed: on spent time details view, the h3 issue link now links back to the issue
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 1 Aug 2007 20:04:31 +0000 (20:04 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 1 Aug 2007 20:04:31 +0000 (20:04 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@599 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/timelog/details.rhtml

index a555734..5683a2f 100644 (file)
@@ -5,7 +5,7 @@
 <h2><%= l(:label_spent_time) %></h2>\r
 \r
 <h3><%= link_to(@project.name, {:action => 'details', :project_id => @project}) if @project %>\r
-<%= "/ " + link_to("#{@issue.tracker.name} ##{@issue.id}", {:action => 'details', :issue_id => @issue }) + ": #{h(@issue.subject)}" if @issue %></h3>\r
+<%= "/ " + link_to_issue(@issue) + h(": #{@issue.subject}") if @issue %></h3>\r
 \r
 <h3 class="textright"><%= l(:label_total) %>: <%= lwr(:label_f_hour, @total_hours) %></h3>\r
 \r