fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-08-22 10:14 am

[dw-free] Improve UI for commenting when not logged in

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

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

Clearer, more user-friendly message.

Patch by [staff profile] denise.

Files modified:
  • bin/upgrading/deadphrases.dat
  • cgi-bin/LJ/Talk.pm
  • htdocs/talkpost.bml.text
--------------------------------------------------------------------------------
diff -r 343dbd2bf378 -r 4e6013054d85 bin/upgrading/deadphrases.dat
--- a/bin/upgrading/deadphrases.dat	Mon Aug 22 18:03:37 2011 +0800
+++ b/bin/upgrading/deadphrases.dat	Mon Aug 22 18:14:27 2011 +0800
@@ -1353,3 +1353,4 @@
 general event.user_new_entry.any
 general event.user_new_entry.user
 general widget.createaccountentercode.pay
+general /talkpost.bml.opt.openidsignin
diff -r 343dbd2bf378 -r 4e6013054d85 cgi-bin/LJ/Talk.pm
--- a/cgi-bin/LJ/Talk.pm	Mon Aug 22 18:03:37 2011 +0800
+++ b/cgi-bin/LJ/Talk.pm	Mon Aug 22 18:14:27 2011 +0800
@@ -1586,7 +1586,7 @@
                 $ret .= "<tr valign='middle'><td align='center'>";
                 $ret .= LJ::img( 'id_openid', '', { onclick => 'handleRadios(3);' } ) . "</td>";
                 $ret .= "<td align='center'>(  )</td>";
-                $ret .= "<td align='left'><font color='#c0c0c0'><b>OpenID</b></font>" . " " . BML::ml('.opt.openidsignin', { 'aopts' => "href='$LJ::SITEROOT/openid'" });
+                $ret .= "<td align='left'><font color='#c0c0c0'><b>OpenID</b></font>" . " " . BML::ml('.opt.openidsignin2', { 'aopts' => "href='$LJ::SITEROOT/openid'" });
                 $ret .= BML::ml('.opt.noopenidpost', { aopts1 => "href='$LJ::SITEROOT/changeemail'", aopts2 => "href='$LJ::SITEROOT/register'" })
                     if defined $oid_identity;
 
diff -r 343dbd2bf378 -r 4e6013054d85 htdocs/talkpost.bml.text
--- a/htdocs/talkpost.bml.text	Mon Aug 22 18:03:37 2011 +0800
+++ b/htdocs/talkpost.bml.text	Mon Aug 22 18:14:27 2011 +0800
@@ -69,7 +69,7 @@
 
 .opt.noopenidpost=You must <a [[aopts1]]>set</a> and <a [[aopts2]]>confirm</a> your email address before you can comment.
 
-.opt.openidsignin=- OpenID commenting on this post is limited. Please sign in <a [[aopts]]>here</a>.
+.opt.openidsignin2=You can comment on this post while signed in with an account from many other sites, once you have confirmed your email address. <a [[aopts]]>Sign in using OpenID</a>.
 
 .opt.preview=Preview
 
--------------------------------------------------------------------------------