diff options
-rw-r--r-- | app/views/mailer/issue_add.html.erb | 2 | ||||
-rw-r--r-- | app/views/mailer/issue_edit.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/mailer/issue_add.html.erb b/app/views/mailer/issue_add.html.erb index 99fd08d14..14292be96 100644 --- a/app/views/mailer/issue_add.html.erb +++ b/app/views/mailer/issue_add.html.erb @@ -1,3 +1,3 @@ -<%= l(:text_issue_added, :id => "##{@issue.id}", :author => h(@issue.author)) %> +<%= l(:text_issue_added, :id => link_to("##{@issue.id}", @issue_url), :author => h(@issue.author)).html_safe %> <hr /> <%= render :partial => 'issue', :formats => [:html], :locals => { :issue => @issue, :users => @users, :issue_url => @issue_url } %> diff --git a/app/views/mailer/issue_edit.html.erb b/app/views/mailer/issue_edit.html.erb index e3b6f5c6c..b68843fba 100644 --- a/app/views/mailer/issue_edit.html.erb +++ b/app/views/mailer/issue_edit.html.erb @@ -1,7 +1,7 @@ <% if @journal.private_notes? %> (<%= l(:field_private_notes) %>) <% end %> -<%= l(:text_issue_updated, :id => "##{@issue.id}", :author => h(@journal.user)) %> +<%= l(:text_issue_updated, :id => link_to("##{@issue.id}", @issue_url), :author => h(@journal.user)).html_safe %> <ul> <% details_to_strings(@journal_details, false, :only_path => false).each do |string| %> |