Opened 3 years ago

Closed 13 months ago

#11817 closed enhancement (wontfix)

Feature request to customize CSS

Reported by: endquote Owned by: jun66j5
Priority: normal Component: TracHtmlNotificationPlugin
Severity: normal Keywords:
Cc: Trac Release:


It would be nice to be able to customize the CSS used in the email notification. Currently it looks like the contents of trac.css and ticket.css are embedded in the email, but it would be nice if there were a third file included, perhaps [env]/htdocs/htmlnotification.css or similar, which could override some of those rules to customize the display.

Attachments (0)

Change History (2)

comment:1 Changed 2 years ago by anonymous

It's a bit of a hack, but you can customize the look and content of notifications if you want to.

  • unzip the .egg file and look at templates/htmlnotification_ticket.html.
  • Modify as desired (e.g. include link to external CSS file)
  • zip it back up, and put the new egg file in your plugin directory

comment:2 Changed 13 months ago by jun66j5

  • Resolution set to wontfix
  • Status changed from new to closed
  • Type changed from defect to enhancement

You can customize htmlnotification_ticket.html using your $ENV/templates/ without unzipping egg file.

Add Comment

Modify Ticket

as closed The owner will remain jun66j5.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.