Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15465484
D15470.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
D15470.diff
View Options
diff --git a/src/applications/differential/controller/DifferentialDiffViewController.php b/src/applications/differential/controller/DifferentialDiffViewController.php
--- a/src/applications/differential/controller/DifferentialDiffViewController.php
+++ b/src/applications/differential/controller/DifferentialDiffViewController.php
@@ -126,27 +126,40 @@
->setRenderingReferences($refs)
->setStandaloneURI('/differential/changeset/')
->setDiff($diff)
+ ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
->setTitle(pht('Diff %d', $diff->getID()))
->setUser($request->getUser());
+ $title = pht('Diff %d', $diff->getID());
$crumbs = $this->buildApplicationCrumbs();
- $crumbs->addTextCrumb(pht('Diff %d', $diff->getID()));
+ $crumbs->addTextCrumb($title);
+ $crumbs->setBorder(true);
+
+ $header = id(new PHUIHeaderView())
+ ->setHeader($title);
$prop_box = id(new PHUIObjectBoxView())
->setHeader($property_head)
+ ->setBackground(PHUIObjectBoxView::BLUE_PROPERTY)
->addPropertyList($property_view)
->setForm($form);
- return $this->buildApplicationPage(
- array(
- $crumbs,
+ $view = id(new PHUITwoColumnView())
+ ->setHeader($header)
+ ->setMainColumn(array(
+
+ ))
+ ->setFooter(array(
$prop_box,
$table_of_contents,
$details,
- ),
- array(
- 'title' => pht('Diff View'),
));
+
+ $page = $this->newPage()
+ ->setTitle(pht('Diff View'))
+ ->setCrumbs($crumbs)
+ ->appendChild($view);
+ return $page;
}
private function loadSelectableRevisions(
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 3, 7:22 PM (3 d, 7 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7222773
Default Alt Text
D15470.diff (1 KB)
Attached To
Mode
D15470: Update Diff view page to new layout
Attached
Detach File
Event Timeline
Log In to Comment