1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-10 17:02:41 +01:00

Show "Tnnn" crumb on Edit Task screen

Summary: Fixes T4198. We don't currently show "(Maniphest) > T123 > Edit" on the edit screen, which is inconsistent. Add the "T123" crumb.

Test Plan: {F87177}

Reviewers: chad, btrahan

Reviewed By: chad

CC: aran

Maniphest Tasks: T4198

Differential Revision: https://secure.phabricator.com/D7699
This commit is contained in:
epriestley 2013-12-04 08:07:11 -08:00
parent 16a7eaa700
commit 1965bf9e52

View file

@ -665,6 +665,14 @@ final class ManiphestTaskEditController extends ManiphestController {
} }
$crumbs = $this->buildApplicationCrumbs(); $crumbs = $this->buildApplicationCrumbs();
if ($task->getID()) {
$crumbs->addCrumb(
id(new PhabricatorCrumbView())
->setName('T'.$task->getID())
->setHref('/T'.$task->getID()));
}
$crumbs->addCrumb( $crumbs->addCrumb(
id(new PhabricatorCrumbView()) id(new PhabricatorCrumbView())
->setName($header_name)); ->setName($header_name));