From 47854cb5991de7baaf436ed2d0ac4f990b785f30 Mon Sep 17 00:00:00 2001
From: Colin Kuskie
Date: Wed, 11 Jul 2007 17:21:32 +0000
Subject: [PATCH] Document new variables added to Post notification template in
the online help.
---
lib/WebGUI/Help/Asset_Post.pm | 11 +++++++++--
lib/WebGUI/i18n/English/Asset_Post.pm | 18 ++++++++++++++----
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/lib/WebGUI/Help/Asset_Post.pm b/lib/WebGUI/Help/Asset_Post.pm
index a402bec1e..0a2efadaa 100644
--- a/lib/WebGUI/Help/Asset_Post.pm
+++ b/lib/WebGUI/Help/Asset_Post.pm
@@ -388,6 +388,7 @@ our $HELP = {
related => [
]
},
+
'notification template' => {
title => 'notification template title',
body => 'notification template body',
@@ -413,9 +414,15 @@ our $HELP = {
'description' => 'relativeUrl'
},
{
- 'name' => 'notification.subscription.message',
+ 'name' => 'notify.subscription.message',
'description' => '875'
- }
+ },
+ {
+ 'name' => 'unsubscribeUrl',
+ },
+ {
+ 'name' => 'unsubscribeLinkText',
+ },
],
related => [
{
diff --git a/lib/WebGUI/i18n/English/Asset_Post.pm b/lib/WebGUI/i18n/English/Asset_Post.pm
index 33b578738..ee47a681a 100644
--- a/lib/WebGUI/i18n/English/Asset_Post.pm
+++ b/lib/WebGUI/i18n/English/Asset_Post.pm
@@ -567,11 +567,11 @@ templates in the Collaboration System.
lastUpdated => 1149829885,
},
- 'notification.subscription.message' => {
- message => q|Internationalized message that a new message has been posted to a thread that the
+ 'notify.subscription.message' => {
+ message => q|Internationalized message that a new message has been posted to a thread that the
user subscribed to.|,
- lastUpdated => 1149829885,
- },
+ lastUpdated => 1184174234,
+ },
'notification template body' => {
message => q|In addition to the common Post Template variables, the Notification Template has these variables:
@@ -631,6 +631,16 @@ user subscribed to.|,
lastUpdated => 1180931029
},
+ 'unsubscribeUrl' => {
+ message => q|The URL for the user to unsubscribe.|,
+ lastUpdated => 1184174298
+ },
+
+ 'unsubscribeLinkText' => {
+ message => q|The internationalized word "Unsubscribe", to be used a text for the link to unsubscribe.|,
+ lastUpdated => 1184174365
+ },
+
};
1;