Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15411528
D15626.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D15626.diff
View Options
diff --git a/src/applications/home/controller/PhabricatorHomeMainController.php b/src/applications/home/controller/PhabricatorHomeMainController.php
--- a/src/applications/home/controller/PhabricatorHomeMainController.php
+++ b/src/applications/home/controller/PhabricatorHomeMainController.php
@@ -51,11 +51,10 @@
$content = $nav;
}
- return $this->buildApplicationPage(
- $content,
- array(
- 'title' => 'Phabricator',
- ));
+ return $this->newPage()
+ ->setTitle('Phabricator')
+ ->appendChild($content);
+
}
private function buildMainResponse(array $projects) {
diff --git a/src/applications/home/controller/PhabricatorHomeQuickCreateController.php b/src/applications/home/controller/PhabricatorHomeQuickCreateController.php
--- a/src/applications/home/controller/PhabricatorHomeQuickCreateController.php
+++ b/src/applications/home/controller/PhabricatorHomeQuickCreateController.php
@@ -19,17 +19,29 @@
->setHref($item->getHref()));
}
+ $title = pht('Quick Create');
+
$crumbs = $this->buildApplicationCrumbs();
$crumbs->addTextCrumb(pht('Quick Create'));
+ $crumbs->setBorder(true);
+
+ $box = id(new PHUIObjectBoxView())
+ ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
+ ->setObjectList($list);
+
+ $header = id(new PHUIHeaderView())
+ ->setHeader($title)
+ ->setHeaderIcon('fa-plus-square');
+
+ $view = id(new PHUITwoColumnView())
+ ->setHeader($header)
+ ->setFooter($box);
+
+ return $this->newPage()
+ ->setTitle($title)
+ ->setCrumbs($crumbs)
+ ->appendChild($view);
- return $this->buildApplicationPage(
- array(
- $crumbs,
- $list,
- ),
- array(
- 'title' => pht('Quick Create'),
- ));
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mar 20 2025, 9:25 AM (5 w, 4 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7710487
Default Alt Text
D15626.diff (1 KB)
Attached To
Mode
D15626: Update Home for newPage
Attached
Detach File
Event Timeline
Log In to Comment