Merge branch 'blender-tweaks' of git.blender.org:phabricator into blender-tweaks
This commit is contained in:
@@ -174,13 +174,18 @@ abstract class ManiphestController extends PhabricatorController {
|
||||
->withIDs(array($this->projectKey))
|
||||
->executeOne();
|
||||
if ($project) {
|
||||
// Special for for Blender and Addons reports.
|
||||
$form = 1;
|
||||
if ($this->projectKey == 3) {
|
||||
$form = 2;
|
||||
}
|
||||
$crumbs->addTextCrumb(pht($project->getName()),
|
||||
$this->taskTypeKey? '/maniphest/project/'.$this->projectKey: null);
|
||||
|
||||
$crumbs->addAction(
|
||||
id(new PHUIListItemView())
|
||||
->setName(pht('Report Bug'))
|
||||
->setHref($this->getApplicationURI('task/edit/form/default/?project='.
|
||||
->setHref($this->getApplicationURI('task/edit/form/' . $form . '/?project='.
|
||||
$project->getPHID().'&type=Bug'))
|
||||
->setIcon('fa-plus-square'));
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user