Changeset View
Changeset View
Standalone View
Standalone View
src/applications/doorkeeper/option/PhabricatorAsanaConfigOptions.php
Show All 27 Lines | return array( | ||||
'To enable synchronization into Asana, enter an Asana Workspace '. | 'To enable synchronization into Asana, enter an Asana Workspace '. | ||||
'ID here.'. | 'ID here.'. | ||||
"\n\n". | "\n\n". | ||||
"NOTE: This feature is new and experimental.")), | "NOTE: This feature is new and experimental.")), | ||||
$this->newOption('asana.project-ids', 'wild', null) | $this->newOption('asana.project-ids', 'wild', null) | ||||
->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 %s 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 %s 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.', | ||||
PlatformSymbols::getPlatformServerName(), | |||||
PlatformSymbols::getPlatformServerName())), | |||||
); | ); | ||||
} | } | ||||
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 114 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0