Opened 19 years ago
Closed 18 years ago
#2391 closed enhancement (duplicate)
Notify.py uses project name in subject
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | ticket system | Version: | 0.9 |
Severity: | trivial | Keywords: | notification email subject |
Cc: | kevin@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Hi,
Using trac (0.9-0beta2+r23) Debian Package I noted that Notify.py uses Project Name from configuration file to format subject line (function format_subj()). IMHO, we should have an option in config file to choose how the subject line is arranged.
Function format_subj():
def format_subj(self): projname = self.config.get('project', 'name') return '[%s] #%s: %s' % (projname, self.ticket.id, self.ticket['summary'])
Why am I asking this? If we setup trac to sent tickets to a maillist and uses a TAG in the maillist subject we end up in having something like this: "[MAILLIST TAG] [TRAC TAG] Ticket Description". In the project where we use trac, we change the maillist properties, but I believe there are people that wouldn't have this chance and I believe it is a nice feature to have in trac, the ability to "format" Notify.py subject line. :o)
Attachments (0)
Change History (3)
comment:1 by , 19 years ago
Cc: | added |
---|
comment:2 by , 19 years ago
Keywords: | notification email added; notify trac mail removed |
---|
comment:3 by , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Duplicate of #3136, which was added to the code in r3994.