Page MenuHomePhorge

D25507.1735044262.diff
No OneTemporary

D25507.1735044262.diff

diff --git a/src/applications/people/config/PhabricatorUserConfigOptions.php b/src/applications/people/config/PhabricatorUserConfigOptions.php
--- a/src/applications/people/config/PhabricatorUserConfigOptions.php
+++ b/src/applications/people/config/PhabricatorUserConfigOptions.php
@@ -39,12 +39,22 @@
$custom_field_type = 'custom:PhabricatorCustomFieldConfigOptionType';
+ $fields_description = $this->deformat(pht(<<<EOTEXT
+List of custom fields for user profiles.
+
+For details on adding new fields, see [[ %s | %s ]] in the
+documentation.
+EOTEXT
+ ,
+ PhabricatorEnv::getDoclink('Configuring Custom Fields'),
+ pht('Configuring Custom Fields')));
+
return array(
$this->newOption('user.fields', $custom_field_type, $default)
->setCustomData(id(new PhabricatorUser())->getCustomFieldBaseClass())
->setDescription(pht('Select and reorder user profile fields.')),
$this->newOption('user.custom-field-definitions', 'wild', array())
- ->setDescription(pht('Add new simple fields to user profiles.')),
+ ->setDescription($fields_description),
$this->newOption('user.require-real-name', 'bool', true)
->setDescription(pht('Always require real name for user profiles.'))
->setBoolOptions(

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 12:44 (7 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1028330
Default Alt Text
D25507.1735044262.diff (1 KB)

Event Timeline