Remove unnecessary h2 element on create account
authorswalling <swalling@wikimedia.org>
Mon, 21 Apr 2014 23:00:08 +0000 (16:00 -0700)
committerOri.livneh <ori@wikimedia.org>
Tue, 22 Apr 2014 04:17:26 +0000 (04:17 +0000)
We added these headings during the last account creation and login form
redesign but on recollection I'm not sure they're needed.

The messages are pretty much redundant with the h1 heading,
and now h2 elements have a margin-top of 1em it adds too much whitespace.

Change-Id: Ice5e8bf23cc00bf00835e7dc26acc33182654ec5

includes/templates/Usercreate.php
languages/i18n/en.json

index d1aef1d..1c8bbd1 100644 (file)
@@ -51,9 +51,6 @@ class UsercreateTemplate extends BaseTemplate {
                <div id="signupstart"><?php $this->msgWiki( 'signupstart' ); ?></div>
        <?php } ?>
        <div id="userloginForm">
-               <h2 class="createaccount-join">
-                       <?php $this->msg( $this->data['loggedin'] ? 'createacct-another-join' : 'createacct-join' ); ?>
-               </h2>
                <form name="userlogin2" id="userlogin2" class="mw-ui-vform" method="post" action="<?php $this->text( 'action' ); ?>">
                        <section class="mw-form-header">
                                <?php $this->html( 'header' ); /* extensions such as ConfirmEdit add form HTML here */ ?>
index 67f374c..783ce48 100644 (file)
     "userlogin-helplink2": "Help with logging in",
     "userlogin-loggedin": "You are already logged in as {{GENDER:$1|$1}}.\nUse the form below to log in as another user.",
     "userlogin-createanother": "Create another account",
-    "createacct-join": "Enter your information below.",
-    "createacct-another-join": "Enter the new account's information below.",
     "createacct-emailrequired": "Email address",
     "createacct-emailoptional": "Email address (optional)",
     "createacct-email-ph": "Enter your email address",