Modify

Opened 5 years ago

Closed 5 years ago

#6006 closed enhancement (fixed)

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

Reported by: rjollos Owned by: rjollos
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 rjollos 5 years ago.
notification.2.patch (1.3 KB) - added by rjollos 5 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 5 years ago by rjollos

  • Summary changed from In subject template, $action could have nicer formatting to [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 5 years ago by rjollos

Changed 5 years ago by rjollos

comment:2 Changed 5 years ago by rjollos

notification.2.patch is the better patch.

comment:3 Changed 5 years ago by rjollos

  • Owner changed from trickie to rjollos

Reassigning ticket since I am now maintainer of the plugin.

comment:4 Changed 5 years ago by rjollos

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from rjollos. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.