Link to the notifications management page from your invite code
management page.
Patch by denise.
diffs (28 lines):
diff -r 430795dcb3fc -r f1f20ae2fb51 htdocs/manage/circle/invite.bml
--- a/htdocs/manage/circle/invite.bml Mon Feb 22 07:41:52 2010 +0000
+++ b/htdocs/manage/circle/invite.bml Mon Feb 22 07:44:11 2010 +0000
@@ -193,7 +193,7 @@
$body .= $findfriends_intro;
} elsif ( $LJ::USE_ACCT_CODES ) {
my $unusedinvites = DW::InviteCodes->unused_count( userid => $u->id );
- $body .= "<?p " . BML::ml('.intro.code2', { aopts =>
"href='$LJ::SITEROOT/manage/invitecodes'" , num => $unusedinvites } ) . " p?>";
+ $body .= "<?p " . BML::ml('.intro.code3', { aopts =>
"href='$LJ::SITEROOT/manage/invitecodes'" , num => $unusedinvites, notif =>
"href='$LJ::SITEROOT/manage/settings/?cat=notifications'" } ) . " p?>";
} else {
$body .= "<?p " . BML::ml('.intro', { aopts => "href='$create_link'",
createlink => $create_link} ) . " p?>";
}
diff -r 430795dcb3fc -r f1f20ae2fb51 htdocs/manage/circle/invite.bml.text
--- a/htdocs/manage/circle/invite.bml.text Mon Feb 22 07:41:52 2010 +0000
+++ b/htdocs/manage/circle/invite.bml.text Mon Feb 22 07:44:11 2010 +0000
@@ -49,10 +49,10 @@ The [[sitenameshort]] Team
.intro=Use this form as often as you like, or just cut and paste this link and
send from your own email account: <strong><a
[[aopts]]>[[createlink]]</a></strong>
-.intro.code2<<
+.intro.code3<<
You can use this form as often as you'd like. Invite codes that you've sent,
but haven't been used to create accounts yet, are counted as unused.<br /><br />
-You currently have <strong>[[num]]</strong> unused invite codes available. The
first five are displayed here. For the full list, or to get multiple codes at
once, see <a [[aopts]]>your complete list of invite codes</a>.
+You currently have <strong>[[num]]</strong> unused invite codes available. The
first five are displayed here. For the full list, or to get multiple codes at
once, see <a [[aopts]]>your complete list of invite codes</a>. You can <a
[[notif]]>choose to be notified</a> when someone you invite creates a journal.
.
.msg<<
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog