Modify

Opened 10 years ago

Closed 9 years ago

#11817 closed enhancement (wontfix)

Feature request to customize CSS

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

Description

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 10 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 9 years ago by Jun Omae

Resolution: wontfix
Status: newclosed
Type: defectenhancement

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
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.