Differential D21783 Diff 51939 src/applications/differential/controller/DifferentialDiffCreateController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/differential/controller/DifferentialDiffCreateController.php
Show First 20 Lines • Show All 106 Lines • ▼ Show 20 Lines | public function handleRequest(AphrontRequest $request) { | ||||
$info_view = null; | $info_view = null; | ||||
if (!$request->isFormPost()) { | if (!$request->isFormPost()) { | ||||
$info_view = id(new PHUIInfoView()) | $info_view = id(new PHUIInfoView()) | ||||
->setSeverity(PHUIInfoView::SEVERITY_NOTICE) | ->setSeverity(PHUIInfoView::SEVERITY_NOTICE) | ||||
->setErrors( | ->setErrors( | ||||
array( | array( | ||||
array( | array( | ||||
pht( | pht( | ||||
'The best way to create a diff is to use the Arcanist '. | 'The best way to create a diff is to use the %s '. | ||||
'command-line tool.'), | 'command-line tool.', | ||||
PlatformSymbols::getPlatformClientName()), | |||||
' ', | ' ', | ||||
$arcanist_link, | $arcanist_link, | ||||
), | ), | ||||
pht( | pht( | ||||
'You can also paste a diff above, or upload a file '. | 'You can also paste a diff above, or upload a file '. | ||||
'containing a diff (for example, from %s, %s or %s).', | 'containing a diff (for example, from %s, %s or %s).', | ||||
phutil_tag('tt', array(), 'svn diff'), | phutil_tag('tt', array(), 'svn diff'), | ||||
phutil_tag('tt', array(), 'git diff'), | phutil_tag('tt', array(), 'git diff'), | ||||
▲ Show 20 Lines • Show All 94 Lines • Show Last 20 Lines |