Modify

Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#20747 closed task (wontfix)

Update trac notification email template

Reported by: gaben Owned by: stoecker
Priority: minor Milestone:
Component: Trac Version:
Keywords: Cc:

Description (last modified by gaben)

The Trac sends update notifications through email, so probably every registered user affected.

It usually contains:

  • a table with the current status of the ticket
  • changes in {from} => {to} format
  • raw comments without preprocessing
  • ticket reference URL

Example:

Please align at least the table to be more usable. Examples are on Trac wiki https://trac.edgewall.org/wiki/1.2/TracNotification

Attachments (1)

josm_trac_email_2021-04-12.png (28.3 KB ) - added by gaben 5 years ago.

Download all attachments as: .zip

Change History (6)

by gaben, 5 years ago

comment:1 by gaben, 5 years ago

Description: modified (diff)

comment:2 by stoecker, 5 years ago

Resolution: wontfix
Status: newclosed

The example in this page is the default and that's what we are using. In my mail programs it also looks correctly aligned.

The sent emails are plain text. You need to have a correct font settings (i.e. a proportional font) defined for nicer display.

in reply to:  2 ; comment:3 by gaben, 4 years ago

You are right, the variable font width is the issue. Is it possible to specify the font family in the email header? I've never touched email templates, don't know how they work.

in reply to:  3 comment:4 by stoecker, 4 years ago

Replying to gaben:

You are right, the variable font width is the issue. Is it possible to specify the font family in the email header? I've never touched email templates, don't know how they work.

Not with plain mail, only with HTML. For plain mail it is recommended to always use proportional fonts (which sane e-mail programs do).

comment:5 by gaben, 4 years ago

Ah, I see, thanks!

If anyone is interested, the above picture is from Gmail and the plaintext display can be fixed with this userscript. Just replace the two CSS classes with something recent.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.