Ticket #5462 (assigned enhancement)

Opened 7 months ago

Last modified 3 months ago

Ticket Notification Formatting

Reported by: gokdenizk@gmail.com Assigned to: doki_pen (accepted)
Priority: normal Component: AnnouncerPlugin
Severity: normal Keywords:
Cc: jevans, rjollos Trac Release: 0.11

Description

Hi, thanks for this plugin.

Formatting for ticket notifications can be improved. First, the horizontal rule after "Changes" is not on its own line. I get e-mails like this.

....
Severity: Normal
---------------------------------------------------------------------
Changes (by xxxxx): 

 * Cc from 'yyyyy' to (deleted)
 * Priority from 'High' to 'Low'---------------------------------------------------------------------
Comment:

comment content

I believe to fix this , {% end %} at ticket_email_plaintext.txt, line 25 should be on its own line. But I'm not sure about it. The horizontal rule may even be removed and replaced with a blank line, just like in original trac notifications.

Ticket property list can be like trac's own notifications format_props function may help. I am not sure if plugins can use core trac functions but at least it can be duplicated.

currently Announcer links only to the ticket's URL (.../ticket/230). Original notifications put a link to exact comment (like http://example.com/trac/ticket/230#comment:4 ). That would be useful to go to a specific comment in a ticket with lots of comments.

Attachments

Change History

08/24/09 09:19:09 changed by anonymous

  • cc set to jevans.

08/24/09 09:22:16 changed by jevans

Would also like to see fields listed in two columns like in the default Trac emails.

09/04/09 00:36:38 changed by anonymous

  • cc changed from jevans to jevans, rjollos.
  • summary changed from Ticket Notification Formatting to Ticket Notification Formatting.

11/23/09 06:29:41 changed by doki_pen

  • status changed from new to assigned.

11/25/09 06:05:52 changed by doki_pen

(In [7176]) Format fixed. addresses #5462


Add/Change #5462 (Ticket Notification Formatting)




Change Properties
Action