@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Config Projects Extra Fields: link to the doc (like User)

Summary:
Add a documentation link in a specific Config page, that is:

Config > Setting > projects.custom-field-definitions

Comparison example:

| User | People |
|-----------|------------|
|{F1633919} | {F1633920} |

This change is a boring follow-up of this one:

https://we.phorge.it/D25507

Test Plan:
Visit the page and click on the new link:

- /config/edit/projects.custom-field-definitions/

Visit this page that was the inspirational page:

- /config/edit/user.custom-field-definitions/

Check that no nuclear implosion is raised.

Reviewers: O1 Blessed Committers, aklapper

Reviewed By: O1 Blessed Committers, aklapper

Subscribers: aklapper, tobiaswiese, Matthew, Cigaryno

Differential Revision: https://we.phorge.it/D25552

+11 -3
+11 -3
src/applications/project/config/PhabricatorProjectConfigOptions.php
··· 105 105 ), 106 106 ); 107 107 108 + $fields_description = $this->deformat(pht(<<<EOTEXT 109 + List of custom fields for project tags. 110 + 111 + For details on adding new fields, see [[ %s | %s ]] in the 112 + documentation. 113 + EOTEXT 114 + , 115 + PhabricatorEnv::getDoclink('Configuring Custom Fields'), 116 + pht('Configuring Custom Fields'))); 117 + 108 118 $subtype_description = $this->deformat(pht(<<<EOTEXT 109 119 Allows you to define project subtypes. For a more detailed description of 110 120 subtype configuration, see @{config:maniphest.subtypes}. ··· 114 124 return array( 115 125 $this->newOption('projects.custom-field-definitions', 'wild', array()) 116 126 ->setSummary(pht('Custom Projects fields.')) 117 - ->setDescription( 118 - pht( 119 - 'Array of custom fields for Projects.')) 127 + ->setDescription($fields_description) 120 128 ->addExample( 121 129 '{"mycompany:motto": {"name": "Project Motto", '. 122 130 '"type": "text"}}',