Modify

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#11762 closed task (fixed)

information on how to change style and template of the email

Reported by: armandocroce@… Owned by: Jun Omae
Priority: normal Component: TracHtmlNotificationPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Any information on how to change style and template of the email?
(info on <xi:include href="ticket_box.html" /> and <style type="text/css">${Markup(styles)}</style>)

Thanks a lot

Attachments (0)

Change History (2)

comment:1 in reply to:  description Changed 3 years ago by Jun Omae

Resolution: fixed
Status: newclosed

This plugin uses ticket_box.html template and trac.css and ticket.css stylesheets in Trac core.

(info on <xi:include href="ticket_box.html" /> ...

See trac:source:branches/0.12-stable/trac/ticket/templates/ticket_box.html.

... <style type="text/css">${Markup(styles)}</style>)

See trachtmlnotificationplugin/0.12/trachtmlnotification/notification.py@:169,180,187#L147.

Also, you can customize htmlnotification_ticket.html to put in your $ENV/templates directory.

comment:2 Changed 3 years ago by armandocroce@…

Thank you for your work and for this valuable information.

Modify Ticket

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.