Differential D19993 Diff 47731 src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/maniphest/config/PhabricatorManiphestConfigOptions.php
Show First 20 Lines • Show All 453 Lines • ▼ Show 20 Lines | return array( | ||||
->setSummary(pht('Default task priority for create flows.')) | ->setSummary(pht('Default task priority for create flows.')) | ||||
->setDescription( | ->setDescription( | ||||
pht( | pht( | ||||
'Choose a default priority for newly created tasks. You can '. | 'Choose a default priority for newly created tasks. You can '. | ||||
'review and adjust available priorities by using the '. | 'review and adjust available priorities by using the '. | ||||
'%s configuration option. The default value (`90`) '. | '%s configuration option. The default value (`90`) '. | ||||
'corresponds to the default "Needs Triage" priority.', | 'corresponds to the default "Needs Triage" priority.', | ||||
'maniphest.priorities')), | 'maniphest.priorities')), | ||||
$this->newOption( | |||||
'metamta.maniphest.subject-prefix', | |||||
'string', | |||||
'[Maniphest]') | |||||
->setDescription(pht('Subject prefix for Maniphest mail.')), | |||||
$this->newOption('maniphest.points', $points_type, array()) | $this->newOption('maniphest.points', $points_type, array()) | ||||
->setSummary(pht('Configure point values for tasks.')) | ->setSummary(pht('Configure point values for tasks.')) | ||||
->setDescription($points_description) | ->setDescription($points_description) | ||||
->addExample($points_json_1, pht('Points Config')) | ->addExample($points_json_1, pht('Points Config')) | ||||
->addExample($points_json_2, pht('Hours Config')), | ->addExample($points_json_2, pht('Hours Config')), | ||||
$this->newOption('maniphest.subtypes', $subtype_type, $subtype_default) | $this->newOption('maniphest.subtypes', $subtype_type, $subtype_default) | ||||
->setSummary(pht('Define task subtypes.')) | ->setSummary(pht('Define task subtypes.')) | ||||
->setDescription($subtype_description) | ->setDescription($subtype_description) | ||||
->addExample($subtype_example, pht('Simple Subtypes')), | ->addExample($subtype_example, pht('Simple Subtypes')), | ||||
); | ); | ||||
} | } | ||||
} | } |