Modernize Diffusion "change" view

Summary:
  - Kicks it out to full width.
  - More useful header/crumbs/properties/actions (needs some more work).
  - Works for public repositories.
  - Fix a bug where the "rX" crumb would lose the branch you're on.

Test Plan: See screenshot.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D7063
This commit is contained in:
epriestley
2013-09-23 12:54:12 -07:00
parent e7fbfb1eac
commit b3fa9d0c2f
6 changed files with 108 additions and 19 deletions

View File

@@ -2,6 +2,10 @@
final class DiffusionDiffController extends DiffusionController {
public function shouldAllowPublic() {
return true;
}
public function willProcessRequest(array $data) {
$data = $data + array(
'dblob' => $this->getRequest()->getStr('ref'),