Fix T37447: Add a link to project list when creating tasks.

This commit is contained in:
2013-11-15 00:32:18 +01:00
parent 214233f82f
commit d8d0e2c99f

View File

@@ -638,6 +638,17 @@ 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())
@@ -645,7 +656,7 @@ final class ManiphestTaskEditController extends ManiphestController {
->setName('projects')
->setValue($projects_value)
->setID($project_tokenizer_id)
->setCaption(pht('Add relevant projects tags here. In most cases you need to add at least one of BF Blender, Game Engine, Addons or Websites.'))
->setCaption($projects_caption)
->setDatasource('/typeahead/common/projects/'));
}