Add Header to Registration
Summary: Adds an ObjectBox to Phabricator Registration Test Plan: check logged out page for new header. Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, aran Differential Revision: https://secure.phabricator.com/D7223
This commit is contained in:
@@ -342,7 +342,7 @@ final class PhabricatorAuthRegisterController
|
|||||||
if ($must_set_password) {
|
if ($must_set_password) {
|
||||||
$form->appendChild(
|
$form->appendChild(
|
||||||
id(new AphrontFormRecaptchaControl())
|
id(new AphrontFormRecaptchaControl())
|
||||||
->setLabel('Captcha')
|
->setLabel(pht('Captcha'))
|
||||||
->setError($e_captcha));
|
->setError($e_captcha));
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -389,12 +389,16 @@ final class PhabricatorAuthRegisterController
|
|||||||
'other authentication mechanisms (like LDAP or OAuth) later on.'));
|
'other authentication mechanisms (like LDAP or OAuth) later on.'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$object_box = id(new PHUIObjectBoxView())
|
||||||
|
->setHeaderText($title)
|
||||||
|
->setForm($form)
|
||||||
|
->setFormError($error_view);
|
||||||
|
|
||||||
return $this->buildApplicationPage(
|
return $this->buildApplicationPage(
|
||||||
array(
|
array(
|
||||||
$crumbs,
|
$crumbs,
|
||||||
$welcome_view,
|
$welcome_view,
|
||||||
$error_view,
|
$object_box,
|
||||||
$form,
|
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'title' => $title,
|
'title' => $title,
|
||||||
|
|||||||
Reference in New Issue
Block a user