diff --git a/src/aphront/response/Aphront403Response.php b/src/aphront/response/Aphront403Response.php index 3f7f6d73ca..3d3d5c9457 100644 --- a/src/aphront/response/Aphront403Response.php +++ b/src/aphront/response/Aphront403Response.php @@ -1,43 +1,43 @@ forbiddenText = $text; return $this; } private function getForbiddenText() { return $this->forbiddenText; } public function getHTTPResponseCode() { return 403; } public function buildResponseString() { $forbidden_text = $this->getForbiddenText(); if (!$forbidden_text) { $forbidden_text = pht('You do not have privileges to access the requested page.'); } $request = $this->getRequest(); $user = $request->getUser(); $dialog = id(new AphrontDialogView()) ->setUser($user) ->setTitle(pht('403 Forbidden')) - ->addCancelButton('/', pht('Peace Out')) + ->addCancelButton('/', pht('Yikes!')) ->appendParagraph($forbidden_text); $view = id(new PhabricatorStandardPageView()) ->setTitle(pht('403 Forbidden')) ->setRequest($request) ->setDeviceReady(true) ->appendChild($dialog); return $view->render(); } }