mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
fix broken link for project creating button
Summary: fix T10074 Test Plan: click the "create project" button Reviewers: joshuaspence, #blessed_reviewers, epriestley Reviewed By: joshuaspence, #blessed_reviewers, epriestley Subscribers: joshuaspence, epriestley Maniphest Tasks: T10074 Differential Revision: https://secure.phabricator.com/D14917
This commit is contained in:
parent
389e4d1b1f
commit
84a570a61b
2 changed files with 1 additions and 10 deletions
|
@ -47,15 +47,6 @@ final class DiffusionCommitEditController extends DiffusionController {
|
||||||
->setName('projects')
|
->setName('projects')
|
||||||
->setValue($current_proj_phids)
|
->setValue($current_proj_phids)
|
||||||
->setID($tokenizer_id)
|
->setID($tokenizer_id)
|
||||||
->setCaption(
|
|
||||||
javelin_tag(
|
|
||||||
'a',
|
|
||||||
array(
|
|
||||||
'href' => '/project/create/',
|
|
||||||
'mustcapture' => true,
|
|
||||||
'sigil' => 'project-create',
|
|
||||||
),
|
|
||||||
pht('Create New Project')))
|
|
||||||
->setDatasource(new PhabricatorProjectDatasource()));
|
->setDatasource(new PhabricatorProjectDatasource()));
|
||||||
|
|
||||||
$reason = $data->getCommitDetail('autocloseReason', false);
|
$reason = $data->getCommitDetail('autocloseReason', false);
|
||||||
|
|
|
@ -180,7 +180,7 @@ protected function buildQueryFromParameters(array $map) {
|
||||||
$create_button = id(new PHUIButtonView())
|
$create_button = id(new PHUIButtonView())
|
||||||
->setTag('a')
|
->setTag('a')
|
||||||
->setText(pht('Create a Project'))
|
->setText(pht('Create a Project'))
|
||||||
->setHref('/project/create/')
|
->setHref('/project/edit/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getFontIcon();
|
$icon = $this->getApplication()->getFontIcon();
|
||||||
|
|
Loading…
Reference in a new issue