Page MenuHomePhorge

D25552.1734696884.diff
No OneTemporary

D25552.1734696884.diff

diff --git a/src/applications/project/config/PhabricatorProjectConfigOptions.php b/src/applications/project/config/PhabricatorProjectConfigOptions.php
--- a/src/applications/project/config/PhabricatorProjectConfigOptions.php
+++ b/src/applications/project/config/PhabricatorProjectConfigOptions.php
@@ -105,6 +105,16 @@
),
);
+ $fields_description = $this->deformat(pht(<<<EOTEXT
+List of custom fields for project tags.
+
+For details on adding new fields, see [[ %s | %s ]] in the
+documentation.
+EOTEXT
+ ,
+ PhabricatorEnv::getDoclink('Configuring Custom Fields'),
+ pht('Configuring Custom Fields')));
+
$subtype_description = $this->deformat(pht(<<<EOTEXT
Allows you to define project subtypes. For a more detailed description of
subtype configuration, see @{config:maniphest.subtypes}.
@@ -114,9 +124,7 @@
return array(
$this->newOption('projects.custom-field-definitions', 'wild', array())
->setSummary(pht('Custom Projects fields.'))
- ->setDescription(
- pht(
- 'Array of custom fields for Projects.'))
+ ->setDescription($fields_description)
->addExample(
'{"mycompany:motto": {"name": "Project Motto", '.
'"type": "text"}}',

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 12:14 (17 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1017522
Default Alt Text
D25552.1734696884.diff (1 KB)

Event Timeline