Modify

Opened 7 years ago

Closed 7 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 7 years ago.
notification.2.patch (1.3 KB) - added by Ryan J Ollos 7 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 7 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 7 years ago by Ryan J Ollos

Attachment: notification.patch added

Changed 7 years ago by Ryan J Ollos

Attachment: notification.2.patch added

comment:2 Changed 7 years ago by Ryan J Ollos

notification.2.patch is the better patch.

comment:3 Changed 7 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 7 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

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

Modify Ticket

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.