1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-23 22:10: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:
epriestley 2015-12-31 05:57:12 -08:00
parent 389e4d1b1f
commit 84a570a61b
2 changed files with 1 additions and 10 deletions

View file

@ -47,15 +47,6 @@ final class DiffusionCommitEditController extends DiffusionController {
->setName('projects')
->setValue($current_proj_phids)
->setID($tokenizer_id)
->setCaption(
javelin_tag(
'a',
array(
'href' => '/project/create/',
'mustcapture' => true,
'sigil' => 'project-create',
),
pht('Create New Project')))
->setDatasource(new PhabricatorProjectDatasource()));
$reason = $data->getCommitDetail('autocloseReason', false);

View file

@ -180,7 +180,7 @@ protected function buildQueryFromParameters(array $map) {
$create_button = id(new PHUIButtonView())
->setTag('a')
->setText(pht('Create a Project'))
->setHref('/project/create/')
->setHref('/project/edit/')
->setColor(PHUIButtonView::GREEN);
$icon = $this->getApplication()->getFontIcon();