mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2010-02-22 07:44 am

[dw-free] Add a link to "someone you invited creates an account" subscription to the Invit

[commit: http://hg.dwscoalition.org/dw-free/rev/f1f20ae2fb51]

http://bugs.dwscoalition.org/show_bug.cgi?id=2346

Link to the notifications management page from your invite code management
page.

Patch by [staff profile] denise.

Files modified:
  • htdocs/manage/circle/invite.bml
  • htdocs/manage/circle/invite.bml.text
--------------------------------------------------------------------------------
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<<
--------------------------------------------------------------------------------