Sort out application crumbs in new repository edit workflow
Summary: Ref T2231. Crumbs in the Diffusion edit workflow are a bit wonky, with stuff like "rP (master)" which isn't very useful and no link back to the main "Edit" page. Make them consistent across all the screens. Test Plan: Loaded a bunch of these screens and saw sane crumbs on all of them. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T2231 Differential Revision: https://secure.phabricator.com/D7407
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
final class DiffusionRepositoryCreateController extends DiffusionController {
|
||||
final class DiffusionRepositoryCreateController
|
||||
extends DiffusionRepositoryEditController {
|
||||
|
||||
private $edit;
|
||||
private $repository;
|
||||
@@ -131,7 +132,7 @@ final class DiffusionRepositoryCreateController extends DiffusionController {
|
||||
$form->readFromObject($dict);
|
||||
}
|
||||
|
||||
$crumbs = $this->buildCrumbs();
|
||||
$crumbs = $this->buildApplicationCrumbs();
|
||||
$crumbs->addCrumb(
|
||||
id(new PhabricatorCrumbView())
|
||||
->setName($title));
|
||||
|
||||
Reference in New Issue
Block a user