Commit eeb011e34a2ccc3ff8a37bd91d8cb7b5cc033228

Authored by Pierre de La Morinerie
1 parent 8e421d2b

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.
app/views/notify/_note_message.html.haml
1 -%p  
2 - %strong #{@note.author_name}  
3 - wrote:  
4 -  
5 %cite{style: 'color: #666'} 1 %cite{style: 'color: #666'}
6 = markdown(@note.note) 2 = markdown(@note.note)
spec/mailers/notify_spec.rb
@@ -353,10 +353,6 @@ describe Notify do @@ -353,10 +353,6 @@ describe Notify do
353 should deliver_to recipient.email 353 should deliver_to recipient.email
354 end 354 end
355 355
356 - it 'contains the name of the note\'s author' do  
357 - should have_body_text /#{note_author.name}/  
358 - end  
359 -  
360 it 'contains the message from the note' do 356 it 'contains the message from the note' do
361 should have_body_text /#{note.note}/ 357 should have_body_text /#{note.note}/
362 end 358 end