mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-29 10:12:41 +01:00
Fix two minor breadcrumb issues in Config
Summary: Fixes T13159. Two issues here: - When viewing a particular config setting, there's an extra "Config" crumb. - On the page for a config group, the link to the parent group has an extra "/config/" in it. Test Plan: - Viewed a page for a particular setting, no longer saw an extra "Config" crumb. - Viewed a page for a setting group, clicked parent crumb, got taken to a real page. Reviewers: amckinley Reviewed By: amckinley Maniphest Tasks: T13159 Differential Revision: https://secure.phabricator.com/D19501
This commit is contained in:
parent
8ab8c390b7
commit
b1f4a974fe
2 changed files with 1 additions and 2 deletions
|
@ -231,7 +231,6 @@ final class PhabricatorConfigEditController
|
|||
$box_header[] = $key;
|
||||
|
||||
$crumbs = $this->buildApplicationCrumbs();
|
||||
$crumbs->addTextCrumb(pht('Config'), $this->getApplicationURI());
|
||||
if ($group) {
|
||||
$crumbs->addTextCrumb($group->getName(), $group_uri);
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ final class PhabricatorConfigGroupController
|
|||
$view = $this->buildConfigBoxView($box_header, $list);
|
||||
|
||||
$crumbs = $this->buildApplicationCrumbs()
|
||||
->addTextCrumb($group_name, $this->getApplicationURI($group_uri))
|
||||
->addTextCrumb($group_name, $group_uri)
|
||||
->addTextCrumb($options->getName())
|
||||
->setBorder(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue