afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-05-16 11:33 am

[dw-free] Link to comm creation on create.bml

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

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

Add link

Patch by [staff profile] denise.

Files modified:
  • bin/upgrading/en.dat
  • cgi-bin/LJ/Widget/CreateAccountEnterCode.pm
--------------------------------------------------------------------------------
diff -r d1f25e391ce7 -r c82e50960a23 bin/upgrading/en.dat
--- a/bin/upgrading/en.dat	Sat May 16 10:59:23 2009 +0000
+++ b/bin/upgrading/en.dat	Sat May 16 11:32:24 2009 +0000
@@ -3907,6 +3907,8 @@ widget.createaccountentercode.error.inva
 
 widget.createaccountentercode.error.toofast=You are entering codes too quickly; please try again later.
 
+widget.createaccountentercode.comm=If you'd like to <a [[aopts]]>create a community</a> instead, you don't need an invite code.
+
 widget.createaccountentercode.info=To create a new account, enter an account creation code:
 
 widget.createaccountentercode.pay=If you do not have an account creation code, you can <a [[aopts]]>purchase a [[sitename]] account</a>.
diff -r d1f25e391ce7 -r c82e50960a23 cgi-bin/LJ/Widget/CreateAccountEnterCode.pm
--- a/cgi-bin/LJ/Widget/CreateAccountEnterCode.pm	Sat May 16 10:59:23 2009 +0000
+++ b/cgi-bin/LJ/Widget/CreateAccountEnterCode.pm	Sat May 16 11:32:24 2009 +0000
@@ -71,6 +71,7 @@ sub render_body {
     if ( LJ::is_enabled( 'payments' ) ) {
         $ret .= "<p style='margin-top: 10px;'>";
         $ret .= $class->ml( 'widget.createaccountentercode.pay', { aopts => "href='$LJ::SITEROOT/shop/account?for=new'", sitename => $LJ::SITENAMESHORT } );
+        $ret .= " " . $class->ml( 'widget.createaccountentercode.comm', { aopts => "href='$LJ::SITEROOT/community/create.bml'" } );
         $ret .= "</p>";
     }
 
--------------------------------------------------------------------------------
ninetydegrees: Art: face peeking through blinds (peeking)

[personal profile] ninetydegrees 2009-05-16 12:10 pm (UTC)(link)
If you'd like to create a community instead, you don't need an invite code.

If I may: will this be for logged-in people only? Because actually you do need an invite code since you need to have a personal account and be logged in: clicking on 'Create a Community' automatically brings you back to the homepage if you're not logged in.
Edited 2009-05-16 12:11 (UTC)
ninetydegrees: Art: does and waterfall (dear deer)

[personal profile] ninetydegrees 2009-05-16 01:31 pm (UTC)(link)
You're welcome, afuna.