@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update Owners edit paths page to new UI

Summary: Brings the edit paths page in owners up to new UI

Test Plan: Edit some paths, yo.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15596

authored by

Chad Little and committed by
Chad Little
7694a672 88d15ce7

+20 -14
+20 -14
src/applications/owners/controller/PhabricatorOwnersPathsController.php
··· 139 139 ->addCancelButton($cancel_uri) 140 140 ->setValue(pht('Save Paths'))); 141 141 142 - $form_box = id(new PHUIObjectBoxView()) 143 - ->setHeaderText(pht('Edit Paths')) 142 + $box = id(new PHUIObjectBoxView()) 143 + ->setHeaderText(pht('Paths')) 144 + ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY) 144 145 ->setForm($form); 145 146 146 147 $crumbs = $this->buildApplicationCrumbs(); ··· 148 149 $package->getName(), 149 150 $this->getApplicationURI('package/'.$package->getID().'/')); 150 151 $crumbs->addTextCrumb(pht('Edit Paths')); 152 + $crumbs->setBorder(true); 151 153 152 - return $this->buildApplicationPage( 153 - array( 154 - $crumbs, 155 - $form_box, 156 - ), 157 - array( 158 - 'title' => array( 159 - $package->getName(), 160 - pht('Edit Paths'), 161 - ), 162 - )); 163 - } 154 + $header = id(new PHUIHeaderView()) 155 + ->setHeader(pht('Edit Paths: %s', $package->getName())) 156 + ->setHeaderIcon('fa-pencil'); 157 + 158 + $view = id(new PHUITwoColumnView()) 159 + ->setHeader($header) 160 + ->setFooter($box); 161 + 162 + $title = array($package->getName(), pht('Edit Paths')); 163 + 164 + return $this->newPage() 165 + ->setTitle($title) 166 + ->setCrumbs($crumbs) 167 + ->appendChild($view); 168 + 169 + } 164 170 165 171 }