Templated Inbox Notification.
Everything but the code to drive and use the template from Account/Inbox.
This commit is contained in:
parent
180b454ce7
commit
ad71df4e3f
4 changed files with 69 additions and 1 deletions
|
|
@ -303,6 +303,15 @@ sub definition {
|
|||
hoverHelp => $i18n->get('send inbox notifications only help', 'Message_Center'),
|
||||
defaultValue => $setting->get('sendInboxNotificationsOnly'),
|
||||
});
|
||||
push(@fields, {
|
||||
tab => 'messaging',
|
||||
fieldType => 'template',
|
||||
name => 'inboxNotificationTemplateId',
|
||||
label => $i18n->get('inbox notification template', 'Message_Center'),
|
||||
hoverHelp => $i18n->get('inbox notification template help', 'Message_Center'),
|
||||
defaultValue => $setting->get('inboxNotificationTemplateId'),
|
||||
namespace => 'Account/Inbox/Notification',
|
||||
});
|
||||
# misc
|
||||
push(@fields, {
|
||||
tab=>"misc",
|
||||
|
|
|
|||
|
|
@ -50,6 +50,11 @@ our $I18N = {
|
|||
lastUpdated => 1235696295,
|
||||
},
|
||||
|
||||
'inbox notification' => {
|
||||
message => q|You have a new message in your Inbox.|,
|
||||
lastUpdated => 1235708853,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue