link_to_issue.patch

Marius BALTEANU, 2016-06-27 18:35

Download (1.12 KB)

View differences:

app/views/mailer/issue_add.html.erb
1
<%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %>
1
<%= l(:text_issue_added, :id => link_to("##{@issue.id}", @issue_url), :author => h(@issue.author)).html_safe %>
2 2
<hr />
3 3
<%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %>
app/views/mailer/issue_edit.html.erb
1 1
<% if @journal.private_notes? %>
2 2
  (<%= l(:field_private_notes) %>)
3 3
<% end %>
4
<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %>
4
<%= l(:text_issue_updated, :id => link_to("##{@issue.id}", @issue_url), :author => h(@journal.user)).html_safe %>
5 5

  
6 6
<ul>
7 7
<% details_to_strings(@journal_details, false, :only_path => false).each do |string| %>