Differential D21787 Diff 51943 src/applications/oauthserver/panel/PhabricatorOAuthServerAuthorizationsSettingsPanel.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/oauthserver/panel/PhabricatorOAuthServerAuthorizationsSettingsPanel.php
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | if ($revoke) { | ||||
return id(new AphrontRedirectResponse())->setURI($panel_uri); | return id(new AphrontRedirectResponse())->setURI($panel_uri); | ||||
} | } | ||||
$dialog = id(new AphrontDialogView()) | $dialog = id(new AphrontDialogView()) | ||||
->setUser($viewer) | ->setUser($viewer) | ||||
->setTitle(pht('Revoke Authorization?')) | ->setTitle(pht('Revoke Authorization?')) | ||||
->appendParagraph( | ->appendParagraph( | ||||
pht( | pht( | ||||
'This application will no longer be able to access Phabricator '. | 'This application will no longer be able to access this server '. | ||||
'on your behalf.')) | 'on your behalf.')) | ||||
->addSubmitButton(pht('Revoke Authorization')) | ->addSubmitButton(pht('Revoke Authorization')) | ||||
->addCancelButton($panel_uri); | ->addCancelButton($panel_uri); | ||||
return id(new AphrontDialogResponse())->setDialog($dialog); | return id(new AphrontDialogResponse())->setDialog($dialog); | ||||
} | } | ||||
$highlight = $request->getInt('id'); | $highlight = $request->getInt('id'); | ||||
▲ Show 20 Lines • Show All 68 Lines • Show Last 20 Lines |