Page MenuHomePhorge

D25507.1731961107.diff
No OneTemporary

D25507.1731961107.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
Mon, Nov 18, 20:18 (31 m, 45 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
976378
Default Alt Text
D25507.1731961107.diff (1 KB)

Event Timeline