fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-09-28 11:55 am

[dw-free] Creating an account: "Set Up Journal" step displays wrongly

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

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

Fix display when the user was invited by someone.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/LJ/Widget/CreateAccountInviter.pm
  • htdocs/stc/widgets/createaccountprofile.css
--------------------------------------------------------------------------------
diff -r 7668453087d1 -r 5c286995cd6b cgi-bin/LJ/Widget/CreateAccountInviter.pm
--- a/cgi-bin/LJ/Widget/CreateAccountInviter.pm	Wed Sep 28 18:32:09 2011 +0800
+++ b/cgi-bin/LJ/Widget/CreateAccountInviter.pm	Wed Sep 28 19:54:42 2011 +0800
@@ -42,7 +42,8 @@
     };
 
     my $ret;
-    $ret .= "<h2>" . $class->ml( 'widget.createaccountinviter.title' ) . "</h2>";
+    $ret .= "<fieldset>";
+    $ret .= "<legend><h2>" . $class->ml( 'widget.createaccountinviter.title' ) . "</h2></legend>";
 
     $ret .= $class->html_hidden( from => $inviter->user );
 
@@ -124,6 +125,7 @@
         }
     }
 
+    $ret .= "</fieldset>";
     return $ret;
 }
 
diff -r 7668453087d1 -r 5c286995cd6b htdocs/stc/widgets/createaccountprofile.css
--- a/htdocs/stc/widgets/createaccountprofile.css	Wed Sep 28 18:32:09 2011 +0800
+++ b/htdocs/stc/widgets/createaccountprofile.css	Wed Sep 28 19:54:42 2011 +0800
@@ -27,3 +27,6 @@
     padding-top: 0;
 }
 
+.simple-form .appwidget-createaccountinviter label {
+    float: none;
+}
--------------------------------------------------------------------------------