Ticket #6006 (closed enhancement: fixed)

Opened 4 years ago

Last modified 3 years ago

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

Reported by: rjollos Assigned to: 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

notification.patch (1.2 kB) - added by rjollos on 01/23/10 08:33:38.
notification.2.patch (1.3 kB) - added by rjollos on 01/23/10 08:47:30.

Change History

01/23/10 08:31:46 changed 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.

01/23/10 08:33:38 changed by rjollos

  • attachment notification.patch added.

01/23/10 08:47:30 changed by rjollos

  • attachment notification.2.patch added.

01/23/10 08:47:51 changed by rjollos

notification.2.patch is the better patch.

01/24/10 21:21:16 changed by rjollos

  • owner changed from trickie to rjollos.

Reassigning ticket since I am now maintainer of the plugin.

01/24/10 21:56:17 changed by rjollos

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #6006 ([Patch] In subject template, $action could have nicer formatting)




Change Properties
Action