[dw-free] Link to comm creation on create.bml
[commit: http://hg.dwscoalition.org/dw-free/rev/c281729b23e5]
http://bugs.dwscoalition.org/show_bug.cgi?id=1190
Add clarification for logged out users. (Thank you,
ninetydegrees
for pointing this out!)
Patch by
denise.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1190
Add clarification for logged out users. (Thank you,
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
for pointing this out!)
Patch by
![[staff profile]](https://www.dreamwidth.org/img/silk/identity/user_staff.png)
Files modified:
- bin/upgrading/en.dat
- cgi-bin/LJ/Widget/CreateAccountEnterCode.pm
-------------------------------------------------------------------------------- diff -r ff9a65c95f9a -r c281729b23e5 bin/upgrading/en.dat --- a/bin/upgrading/en.dat Sun May 17 00:25:55 2009 +0800 +++ b/bin/upgrading/en.dat Sat May 16 16:40:32 2009 +0000 @@ -3907,7 +3907,9 @@ 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.comm=If you'd like to <a [[aopts]]>create a community</a> instead, you don't need an account creation code. + +widget.createaccountentercode.comm.loggedout=You should create or log into a personal account to be the maintainer. If you don't have a personal account yet, you will need a code to create that account, but you don't need one for the community itself. widget.createaccountentercode.info=To create a new account, enter an account creation code: diff -r ff9a65c95f9a -r c281729b23e5 cgi-bin/LJ/Widget/CreateAccountEnterCode.pm --- a/cgi-bin/LJ/Widget/CreateAccountEnterCode.pm Sun May 17 00:25:55 2009 +0800 +++ b/cgi-bin/LJ/Widget/CreateAccountEnterCode.pm Sat May 16 16:40:32 2009 +0000 @@ -71,7 +71,10 @@ 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 } ); + my $remote = LJ::get_remote(); $ret .= " " . $class->ml( 'widget.createaccountentercode.comm', { aopts => "href='$LJ::SITEROOT/community/create.bml'" } ); + $ret .= " " . $class->ml( 'widget.createaccountentercode.comm.loggedout', { aopts => "href='$LJ::SITEROOT/community/create.bml'" } ) unless $remote; + $ret .= "</p>"; } --------------------------------------------------------------------------------
no subject