Differential D9306 Diff 22267 src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/config/PhabricatorDifferentialConfigOptions.php
| Show First 20 Lines • Show All 159 Lines • ▼ Show 20 Lines | return array( | ||||
| ->setDescription( | ->setDescription( | ||||
| pht( | pht( | ||||
| "If you set this to true, any user can close any revision so ". | "If you set this to true, any user can close any revision so ". | ||||
| "long as it has been accepted. This can be useful depending on ". | "long as it has been accepted. This can be useful depending on ". | ||||
| "your development model. For example, github-style pull requests ". | "your development model. For example, github-style pull requests ". | ||||
| "where the reviewer is often the actual committer can benefit ". | "where the reviewer is often the actual committer can benefit ". | ||||
| "from turning this option to true. If false, only the submitter ". | "from turning this option to true. If false, only the submitter ". | ||||
| "can close a revision.")), | "can close a revision.")), | ||||
| $this->newOption('differential.always-allow-abandon', 'bool', false) | |||||
| ->setBoolOptions( | |||||
| array( | |||||
| pht('Allow any user'), | |||||
| pht('Restrict to submitter'), | |||||
| )) | |||||
| ->setSummary(pht('Allows any user to abandon revisions.')) | |||||
| ->setDescription( | |||||
| pht( | |||||
| 'If you set this to true, any user can abandon any revision. If '. | |||||
| 'false, only the submitter can abandon a revision.')), | |||||
| $this->newOption('differential.allow-reopen', 'bool', false) | $this->newOption('differential.allow-reopen', 'bool', false) | ||||
| ->setBoolOptions( | ->setBoolOptions( | ||||
| array( | array( | ||||
| pht("Enable reopen"), | pht("Enable reopen"), | ||||
| pht("Disable reopen"), | pht("Disable reopen"), | ||||
| )) | )) | ||||
| ->setSummary(pht("Allows any user to reopen a closed revision.")) | ->setSummary(pht("Allows any user to reopen a closed revision.")) | ||||
| ->setDescription( | ->setDescription( | ||||
| ▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines | |||||