trac-bot: Show summary in tickets.
(imported from commit fdf48c0e6cd0c7a94d7ddb1f982d2398381e310a)
This commit is contained in:
parent
e8b54fc138
commit
7a19875c37
|
@ -60,6 +60,8 @@ class HumbugPlugin(Component):
|
||||||
fields that have changed.
|
fields that have changed.
|
||||||
"""
|
"""
|
||||||
content = "%s updated %s:\n\n" % (author, markdown_ticket_url(ticket))
|
content = "%s updated %s:\n\n" % (author, markdown_ticket_url(ticket))
|
||||||
|
if "summary" not in old_values:
|
||||||
|
content += "(%s)\n" % (ticket.values.get("summary"),)
|
||||||
for key in old_values.keys():
|
for key in old_values.keys():
|
||||||
if key == "description":
|
if key == "description":
|
||||||
content += '- Changed %s from %s to %s' % (key, markdown_block(old_values.get(key)),
|
content += '- Changed %s from %s to %s' % (key, markdown_block(old_values.get(key)),
|
||||||
|
|
Loading…
Reference in a new issue