Differential D10585 Diff 25583 src/applications/diffusion/controller/DiffusionRepositoryEditHostingController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diffusion/controller/DiffusionRepositoryEditHostingController.php
Show First 20 Lines • Show All 180 Lines • ▼ Show 20 Lines | if (!$repository->isHosted()) { | ||||
$rw_message = array( | $rw_message = array( | ||||
$rw_message, | $rw_message, | ||||
phutil_tag('br'), | phutil_tag('br'), | ||||
phutil_tag('br'), | phutil_tag('br'), | ||||
pht( | pht( | ||||
'%s: This repository is hosted elsewhere, so Phabricator can not '. | '%s: This repository is hosted elsewhere, so Phabricator can not '. | ||||
'perform writes. This mode will act like "Read Only" for '. | 'perform writes. This mode will act like "Read Only" for '. | ||||
'repositories hosted elsewhere.', | 'repositories hosted elsewhere.', | ||||
phutil_tag('strong', array(), 'WARNING'))); | phutil_tag('strong', array(), 'WARNING')), | ||||
); | |||||
} | } | ||||
$ssh_control = | $ssh_control = | ||||
id(new AphrontFormRadioButtonControl()) | id(new AphrontFormRadioButtonControl()) | ||||
->setName('ssh') | ->setName('ssh') | ||||
->setLabel(pht('SSH')) | ->setLabel(pht('SSH')) | ||||
->setValue($v_ssh_mode) | ->setValue($v_ssh_mode) | ||||
->addButton( | ->addButton( | ||||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |