From c3c36ab3a3cced02321269e4272f2e845ff93af1 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Mon, 23 Apr 2012 08:55:30 +0200 Subject: [PATCH] Improved update notification. --- app/models/ticket/observer/notification.rb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/models/ticket/observer/notification.rb b/app/models/ticket/observer/notification.rb index 4948374b5..242efc25b 100644 --- a/app/models/ticket/observer/notification.rb +++ b/app/models/ticket/observer/notification.rb @@ -100,11 +100,12 @@ From: #{ticket.articles[-1].from} { :event => event, :recipient => 'owner', # group|owner|to_work_on - :subject => 'Update (#{ticket.title})', - :body => 'Update (#{ticket.title}) in Group #{ticket.group.name} + :subject => 'Updated (#{ticket.title})', + :body => 'Hi #{recipient.firstname}, + +Updated (#{ticket.title}) in Group #{ticket.group.name} From: #{ticket.articles[-1].from} - #{ticket.articles[-1].body}