mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-21 11:09:02 +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:
parent
16a7eaa700
commit
1965bf9e52
1 changed files with 8 additions and 0 deletions
|
@ -665,6 +665,14 @@ final class ManiphestTaskEditController extends ManiphestController {
|
|||
}
|
||||
|
||||
$crumbs = $this->buildApplicationCrumbs();
|
||||
|
||||
if ($task->getID()) {
|
||||
$crumbs->addCrumb(
|
||||
id(new PhabricatorCrumbView())
|
||||
->setName('T'.$task->getID())
|
||||
->setHref('/T'.$task->getID()));
|
||||
}
|
||||
|
||||
$crumbs->addCrumb(
|
||||
id(new PhabricatorCrumbView())
|
||||
->setName($header_name));
|
||||
|
|
Loading…
Add table
Reference in a new issue