Changeset View
Changeset View
Standalone View
Standalone View
src/applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php
| Show All 24 Lines | return array( | ||||
| ->setSummary(pht('Optional Asana projects to use as application tags.')) | ->setSummary(pht('Optional Asana projects to use as application tags.')) | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| 'When Phabricator creates tasks in Asana, it can add the tasks '. | 'When Phabricator creates tasks in Asana, it can add the tasks '. | ||||
| 'to Asana projects based on which application the corresponding '. | 'to Asana projects based on which application the corresponding '. | ||||
| 'object in Phabricator comes from. For example, you can add code '. | 'object in Phabricator comes from. For example, you can add code '. | ||||
| 'reviews in Asana to a "Differential" project.'. | 'reviews in Asana to a "Differential" project.'. | ||||
| "\n\n". | "\n\n". | ||||
| 'NOTE: This feature is new and experimental.')) | 'NOTE: This feature is new and experimental.')), | ||||
| ); | ); | ||||
| } | } | ||||
| public function renderContextualDescription( | public function renderContextualDescription( | ||||
| PhabricatorConfigOption $option, | PhabricatorConfigOption $option, | ||||
| AphrontRequest $request) { | AphrontRequest $request) { | ||||
| switch ($option->getKey()) { | switch ($option->getKey()) { | ||||
| ▲ Show 20 Lines • Show All 112 Lines • Show Last 20 Lines | |||||