summaryrefslogtreecommitdiffstats
path: root/www/trac-subtickets/files/patch-tracsubtickets_api.py
blob: d36c42d185d396c843d7170eba49e8ca23da306c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- tracsubtickets/api.py.orig	2012-10-27 18:40:31 UTC
+++ tracsubtickets/api.py
@@ -153,7 +153,7 @@ class SubTicketsSystem(Component):
                            (parent, ticket.id))
             # add a comment to old parent
             xticket = Ticket(self.env, parent)
-            xticket.save_changes(author, _('Remove a subticket #%s.') % ticket.id)
+            xticket.save_changes(author, _('Remove a subticket #%s. (%s)') % (ticket.id, ticket['summary']))
             tn = TicketNotifyEmail(self.env)
             tn.notify(xticket, newticket=False, modtime=xticket['changetime'])
 
@@ -164,7 +164,7 @@ class SubTicketsSystem(Component):
                            (parent, ticket.id))
             # add a comment to new parent
             xticket = Ticket(self.env, parent)
-            xticket.save_changes(author, _('Add a subticket #%s.') % ticket.id)
+            xticket.save_changes(author, _('Add a subticket #%s. (%s)') % (ticket.id, ticket['summary']))
             tn = TicketNotifyEmail(self.env)
             tn.notify(xticket, newticket=False, modtime=xticket['changetime'])
 
OpenPOWER on IntegriCloud