Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14762175
D18562.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D18562.diff
View Options
diff --git a/src/applications/people/controller/PhabricatorPeopleCreateController.php b/src/applications/people/controller/PhabricatorPeopleCreateController.php
--- a/src/applications/people/controller/PhabricatorPeopleCreateController.php
+++ b/src/applications/people/controller/PhabricatorPeopleCreateController.php
@@ -92,13 +92,9 @@
$crumbs->addTextCrumb($title);
$crumbs->setBorder(true);
- $header = id(new PHUIHeaderView())
- ->setHeader($title)
- ->setHeaderIcon('fa-user');
-
$box = id(new PHUIObjectBoxView())
- ->setHeaderText(pht('User'))
- ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
+ ->setHeaderText($title)
+ ->setBackground(PHUIObjectBoxView::WHITE_CONFIG)
->setForm($form);
$guidance_context = new PhabricatorPeopleCreateGuidanceContext();
@@ -109,7 +105,6 @@
->newInfoView();
$view = id(new PHUITwoColumnView())
- ->setHeader($header)
->setFooter(
array(
$guidance,
diff --git a/src/applications/people/controller/PhabricatorPeopleNewController.php b/src/applications/people/controller/PhabricatorPeopleNewController.php
--- a/src/applications/people/controller/PhabricatorPeopleNewController.php
+++ b/src/applications/people/controller/PhabricatorPeopleNewController.php
@@ -132,12 +132,15 @@
->setUser($admin);
if ($is_bot) {
+ $title = pht('Create New Bot');
$form->appendRemarkupInstructions(
pht('You are creating a new **bot** user account.'));
} else if ($is_list) {
+ $title = pht('Create New Mailing List');
$form->appendRemarkupInstructions(
pht('You are creating a new **mailing list** user account.'));
} else {
+ $title = pht('Create New User');
$form->appendRemarkupInstructions(
pht('You are creating a new **standard** user account.'));
}
@@ -205,25 +208,17 @@
"`bot@yourcompany.com` if you prefer."));
}
-
- $title = pht('Create New User');
-
$box = id(new PHUIObjectBoxView())
- ->setHeaderText(pht('User'))
+ ->setHeaderText($title)
->setFormErrors($errors)
- ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
+ ->setBackground(PHUIObjectBoxView::WHITE_CONFIG)
->setForm($form);
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb($title);
$crumbs->setBorder(true);
- $header = id(new PHUIHeaderView())
- ->setHeader($title)
- ->setHeaderIcon('fa-user');
-
$view = id(new PHUITwoColumnView())
- ->setHeader($header)
->setFooter($box);
return $this->newPage()
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 24, 5:00 AM (14 h, 20 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7036816
Default Alt Text
D18562.diff (2 KB)
Attached To
Mode
D18562: Update people edit pages UI
Attached
Detach File
Event Timeline
Log In to Comment