mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Scuttle Workboards if Maniphest is not installed
Summary: fix T9718. Test Plan: view project page when maniphest is and isn't. Look for Workboards. Reviewers: #blessed_reviewers, chad Reviewed By: #blessed_reviewers, chad Subscribers: epriestley Maniphest Tasks: T9718 Differential Revision: https://secure.phabricator.com/D14438
This commit is contained in:
parent
97d74db98b
commit
3dd2e1fc6d
1 changed files with 1 additions and 1 deletions
|
@ -70,11 +70,11 @@ abstract class PhabricatorProjectController extends PhabricatorController {
|
|||
$nav->setIconNav(true);
|
||||
$nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
|
||||
$nav->addIcon("profile/{$id}/", $name, null, $picture);
|
||||
$nav->addIcon("board/{$id}/", pht('Workboard'), $board_icon);
|
||||
|
||||
$class = 'PhabricatorManiphestApplication';
|
||||
if (PhabricatorApplication::isClassInstalledForViewer($class, $viewer)) {
|
||||
$phid = $project->getPHID();
|
||||
$nav->addIcon("board/{$id}/", pht('Workboard'), $board_icon);
|
||||
$query_uri = urisprintf(
|
||||
'/maniphest/?statuses=open()&projects=%s#R',
|
||||
$phid);
|
||||
|
|
Loading…
Reference in a new issue