Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13959540
D15596.id37592.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
D15596.id37592.diff
View Options
diff --git a/src/applications/owners/controller/PhabricatorOwnersPathsController.php b/src/applications/owners/controller/PhabricatorOwnersPathsController.php
--- a/src/applications/owners/controller/PhabricatorOwnersPathsController.php
+++ b/src/applications/owners/controller/PhabricatorOwnersPathsController.php
@@ -139,8 +139,9 @@
->addCancelButton($cancel_uri)
->setValue(pht('Save Paths')));
- $form_box = id(new PHUIObjectBoxView())
- ->setHeaderText(pht('Edit Paths'))
+ $box = id(new PHUIObjectBoxView())
+ ->setHeaderText(pht('Paths'))
+ ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
->setForm($form);
$crumbs = $this->buildApplicationCrumbs();
@@ -148,18 +149,23 @@
$package->getName(),
$this->getApplicationURI('package/'.$package->getID().'/'));
$crumbs->addTextCrumb(pht('Edit Paths'));
+ $crumbs->setBorder(true);
- return $this->buildApplicationPage(
- array(
- $crumbs,
- $form_box,
- ),
- array(
- 'title' => array(
- $package->getName(),
- pht('Edit Paths'),
- ),
- ));
- }
+ $header = id(new PHUIHeaderView())
+ ->setHeader(pht('Edit Paths: %s', $package->getName()))
+ ->setHeaderIcon('fa-pencil');
+
+ $view = id(new PHUITwoColumnView())
+ ->setHeader($header)
+ ->setFooter($box);
+
+ $title = array($package->getName(), pht('Edit Paths'));
+
+ return $this->newPage()
+ ->setTitle($title)
+ ->setCrumbs($crumbs)
+ ->appendChild($view);
+
+ }
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Oct 15 2024, 7:46 PM (5 w, 5 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6714149
Default Alt Text
D15596.id37592.diff (1 KB)
Attached To
Mode
D15596: Update Owners edit paths page to new UI
Attached
Detach File
Event Timeline
Log In to Comment