From 9944b669ade987f0c86ccad57cadffdae70a1571 Mon Sep 17 00:00:00 2001 From: epriestley Date: Sat, 28 Sep 2019 09:22:30 -0700 Subject: [PATCH] Make HTTP/403 say "Yikes!" Summary: This text is significantly more clear and helpful for users. Test Plan: Tried to do something I'm not suppposed to, hit the 403 page. Differential Revision: https://secure.phabricator.com/D20847 --- src/aphront/response/Aphront403Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ -28,7 +28,7 @@ final class Aphront403Response extends AphrontHTMLResponse { $dialog = id(new AphrontDialogView()) ->setUser($user) ->setTitle(pht('403 Forbidden')) - ->addCancelButton('/', pht('Peace Out')) + ->addCancelButton('/', pht('Yikes!')) ->appendParagraph($forbidden_text); $view = id(new PhabricatorStandardPageView())