Fix wrong source for projects
Also made code lcoser to master.
This commit is contained in:
@@ -725,17 +725,6 @@ final class ManiphestTaskEditController extends ManiphestController {
|
||||
}
|
||||
|
||||
if ($can_edit_projects) {
|
||||
$projects_caption = phutil_tag(
|
||||
'span',
|
||||
array(),
|
||||
array(
|
||||
'Add relevant ',
|
||||
phutil_tag(
|
||||
'a',
|
||||
array('href' => '/project/query/active/', 'target' => '_blank'),
|
||||
'project tags'),
|
||||
' here. In most cases you need to add at least one of BF Blender, Game Engine, Addons or Websites.'));
|
||||
|
||||
$form
|
||||
->appendChild(
|
||||
id(new AphrontFormTokenizerControl())
|
||||
@@ -743,8 +732,16 @@ final class ManiphestTaskEditController extends ManiphestController {
|
||||
->setName('projects')
|
||||
->setValue($projects_value)
|
||||
->setID($project_tokenizer_id)
|
||||
->setCaption($projects_caption)
|
||||
->setDatasource(new PhabricatorMetaMTAMailableDatasource()));
|
||||
->setCaption(
|
||||
javelin_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '/project/create/',
|
||||
'mustcapture' => true,
|
||||
'sigil' => 'project-create',
|
||||
),
|
||||
pht('Create New Project')))
|
||||
->setDatasource(new PhabricatorProjectDatasource()));
|
||||
}
|
||||
|
||||
foreach ($aux_fields as $aux_field) {
|
||||
|
||||
Reference in New Issue
Block a user