Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2699481
D25507.1735043268.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
1 KB
Referenced Files
None
Subscribers
None
D25507.1735043268.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 12:27 (7 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1028330
Default Alt Text
D25507.1735043268.diff (1 KB)
Attached To
Mode
D25507: Config User Extra Fields: link to the doc (like Maniphest)
Attached
Detach File
Event Timeline
Log In to Comment