mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-23 14:00:56 +01:00
Make minor flavor updates
Summary: Refresh the 404 text since it hasn't been updated in a while, and swap the "Save Query" button back to grey since I never got used to blue. Test Plan: Hit 404 page, saved a query. Differential Revision: https://secure.phabricator.com/D20734
This commit is contained in:
parent
9bcd683c08
commit
b3f8045b87
2 changed files with 10 additions and 6 deletions
|
@ -8,16 +8,19 @@ final class Aphront404Response extends AphrontHTMLResponse {
|
|||
|
||||
public function buildResponseString() {
|
||||
$request = $this->getRequest();
|
||||
$user = $request->getUser();
|
||||
$viewer = $request->getViewer();
|
||||
|
||||
$dialog = id(new AphrontDialogView())
|
||||
->setUser($user)
|
||||
->setViewer($viewer)
|
||||
->setTitle(pht('404 Not Found'))
|
||||
->addCancelButton('/', pht('Focus'))
|
||||
->addCancelButton('/', pht('Return to Charted Waters'))
|
||||
->appendParagraph(
|
||||
pht(
|
||||
'Do not dwell in the past, do not dream of the future, '.
|
||||
'concentrate the mind on the present moment.'));
|
||||
'You arrive at your destination, but there is nothing here.'))
|
||||
->appendParagraph(
|
||||
pht(
|
||||
'Perhaps the real treasure was the friends you made '.
|
||||
'along the way.'));
|
||||
|
||||
$view = id(new PhabricatorStandardPageView())
|
||||
->setTitle(pht('404 Not Found'))
|
||||
|
|
|
@ -194,9 +194,10 @@ final class PhabricatorApplicationSearchController
|
|||
if ($run_query && !$named_query && $user->isLoggedIn()) {
|
||||
$save_button = id(new PHUIButtonView())
|
||||
->setTag('a')
|
||||
->setColor(PHUIButtonView::GREY)
|
||||
->setHref('/search/edit/key/'.$saved_query->getQueryKey().'/')
|
||||
->setText(pht('Save Query'))
|
||||
->setIcon('fa-floppy-o');
|
||||
->setIcon('fa-bookmark');
|
||||
$submit->addButton($save_button);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue