Modify

Opened 15 years ago

Closed 14 years ago

#6006 closed enhancement (fixed)

[Patch] In subject template, $action could have nicer formatting

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Component: FullBlogNotificationPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

With the subject template specified as $prefix $blog.title $action, I get subject lines such as:

[PSI] Test Post post_updated;

[PSI] Test Post post_comment_added;

It would be nice if the $action was formatted nicer, so that the subject templates appeared as:

[PSI] Test Post (Updated)

[PSI] Test Post (Comment Added)

Attachments (2)

notification.patch (1.2 KB) - added by Ryan J Ollos 14 years ago.
notification.2.patch (1.3 KB) - added by Ryan J Ollos 14 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by Ryan J Ollos

Summary: In subject template, $action could have nicer formatting[Patch] In subject template, $action could have nicer formatting

Patch to implement this functionality is attached, and the example on the wiki page has been slightly updated.

Changed 14 years ago by Ryan J Ollos

Attachment: notification.patch added

Changed 14 years ago by Ryan J Ollos

Attachment: notification.2.patch added

comment:2 Changed 14 years ago by Ryan J Ollos

notification.2.patch is the better patch.

comment:3 Changed 14 years ago by Ryan J Ollos

Owner: changed from Nick Loeve to Ryan J Ollos

Reassigning ticket since I am now maintainer of the plugin.

comment:4 Changed 14 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

(In [7459]) Improve formatting of subject line. Fixes #6006

Modify Ticket

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