mirror of https://github.com/zulip/zulip.git
trac-bot: Show summary in tickets.
(imported from commit fdf48c0e6cd0c7a94d7ddb1f982d2398381e310a)
This commit is contained in:
parent
53b6fc80c7
commit
7c03f03557
|
@ -60,6 +60,8 @@ class HumbugPlugin(Component):
|
|||
fields that have changed.
|
||||
"""
|
||||
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():
|
||||
if key == "description":
|
||||
content += '- Changed %s from %s to %s' % (key, markdown_block(old_values.get(key)),
|
||||
|
|
Loading…
Reference in New Issue