diff options
author | Pierre de La Morinerie <pierre@capitainetrain.com> | 2014-02-18 11:14:04 +0100 |
---|---|---|
committer | Pierre de La Morinerie <pierre@capitainetrain.com> | 2014-03-03 16:58:44 +0100 |
commit | eeb011e34a2ccc3ff8a37bd91d8cb7b5cc033228 (patch) | |
tree | 394dea7aecf0834d35d941fc702c2bbf3c35b75f | |
parent | 8e421d2bcb8088fa065b9bd8a6e1776c5140f4cd (diff) | |
download | gitlab-ce-eeb011e34a2ccc3ff8a37bd91d8cb7b5cc033228.tar.gz |
Remove the author name from issue notes emails
Rationale: the author name is now displayed in the email "From" field;
this information is no longer needed.
-rw-r--r-- | app/views/notify/_note_message.html.haml | 4 | ||||
-rw-r--r-- | spec/mailers/notify_spec.rb | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/app/views/notify/_note_message.html.haml b/app/views/notify/_note_message.html.haml index 9e329af2d47..ba2ed5697ba 100644 --- a/app/views/notify/_note_message.html.haml +++ b/app/views/notify/_note_message.html.haml @@ -1,6 +1,2 @@ -%p - %strong #{@note.author_name} - wrote: - %cite{style: 'color: #666'} = markdown(@note.note) diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index bc375622b32..f990ed659b8 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -353,10 +353,6 @@ describe Notify do should deliver_to recipient.email end - it 'contains the name of the note\'s author' do - should have_body_text /#{note_author.name}/ - end - it 'contains the message from the note' do should have_body_text /#{note.note}/ end |