OSDN Git Service

Adds links to issues in reminder HTML template (#3541).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 5 Jul 2009 14:14:44 +0000 (14:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 5 Jul 2009 14:14:44 +0000 (14:14 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2814 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/mailer/reminder.text.html.rhtml

index bd53df8..62201e5 100644 (file)
@@ -2,7 +2,7 @@
 
 <ul>
 <% @issues.each do |issue| -%>
-    <li><%=h "#{issue.project} - #{issue.tracker} ##{issue.id}: #{issue.subject}" %></li>
+  <li><%=h issue.project %> - <%=link_to("#{issue.tracker} ##{issue.id}", :controller => 'issues', :action => 'show', :id => issue, :only_path => false)%>: <%=h issue.subject %></li>
 <% end -%>
 </ul>