Differential D20733 Diff 49440 src/applications/phortune/controller/account/PhortuneAccountEmailViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phortune/controller/account/PhortuneAccountEmailViewController.php
Show First 20 Lines • Show All 44 Lines • ▼ Show 20 Lines | $view = id(new PHUITwoColumnView()) | ||||
$details, | $details, | ||||
$timeline, | $timeline, | ||||
)); | )); | ||||
return $this->newPage() | return $this->newPage() | ||||
->setTitle($address->getObjectName()) | ->setTitle($address->getObjectName()) | ||||
->setCrumbs($crumbs) | ->setCrumbs($crumbs) | ||||
->appendChild($view); | ->appendChild($view); | ||||
} | } | ||||
private function buildCurtainView(PhortuneAccountEmail $address) { | private function buildCurtainView(PhortuneAccountEmail $address) { | ||||
$viewer = $this->getViewer(); | $viewer = $this->getViewer(); | ||||
$account = $address->getAccount(); | $account = $address->getAccount(); | ||||
$can_edit = PhabricatorPolicyFilter::hasCapability( | $can_edit = PhabricatorPolicyFilter::hasCapability( | ||||
$viewer, | $viewer, | ||||
Show All 36 Lines |