Differential D10493 Diff 25253 src/applications/diffusion/controller/DiffusionRepositoryNewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionRepositoryNewController.php
| Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Lines | $form = id(new AphrontFormView()) | ||||
| id(new AphrontFormRadioButtonControl()) | id(new AphrontFormRadioButtonControl()) | ||||
| ->setName('type') | ->setName('type') | ||||
| ->addButton( | ->addButton( | ||||
| 'create', | 'create', | ||||
| pht('Create a New Hosted Repository'), | pht('Create a New Hosted Repository'), | ||||
| array( | array( | ||||
| pht( | pht( | ||||
| 'Create a new, empty repository which Phabricator will host. '. | 'Create a new, empty repository which Phabricator will host. '. | ||||
| 'For instructions on configuring repository hosting, see %s. '. | 'For instructions on configuring repository hosting, see %s.', | ||||
| 'This feature is new and in beta!', | |||||
| $doc_link), | $doc_link), | ||||
| )) | )) | ||||
| ->addButton( | ->addButton( | ||||
| 'import', | 'import', | ||||
| pht('Import an Existing External Repository'), | pht('Import an Existing External Repository'), | ||||
| pht( | pht( | ||||
| 'Import a repository hosted somewhere else, like GitHub, '. | 'Import a repository hosted somewhere else, like GitHub, '. | ||||
| 'Bitbucket, or your organization\'s existing servers. '. | 'Bitbucket, or your organization\'s existing servers. '. | ||||
| Show All 26 Lines | |||||