Differential D20403 Diff 48692 src/applications/search/controller/PhabricatorApplicationSearchController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/search/controller/PhabricatorApplicationSearchController.php
| Show First 20 Lines • Show All 190 Lines • ▼ Show 20 Lines | if ($run_query && !$named_query && $user->isLoggedIn()) { | ||||
| $save_button = id(new PHUIButtonView()) | $save_button = id(new PHUIButtonView()) | ||||
| ->setTag('a') | ->setTag('a') | ||||
| ->setHref('/search/edit/key/'.$saved_query->getQueryKey().'/') | ->setHref('/search/edit/key/'.$saved_query->getQueryKey().'/') | ||||
| ->setText(pht('Save Query')) | ->setText(pht('Save Query')) | ||||
| ->setIcon('fa-floppy-o'); | ->setIcon('fa-floppy-o'); | ||||
| $submit->addButton($save_button); | $submit->addButton($save_button); | ||||
| } | } | ||||
| // TODO: A "Create Dashboard Panel" action goes here somewhere once | |||||
| // we sort out T5307. | |||||
| $form->appendChild($submit); | $form->appendChild($submit); | ||||
| $body = array(); | $body = array(); | ||||
| if ($this->getPreface()) { | if ($this->getPreface()) { | ||||
| $body[] = $this->getPreface(); | $body[] = $this->getPreface(); | ||||
| } | } | ||||
| if ($named_query) { | if ($named_query) { | ||||
| ▲ Show 20 Lines • Show All 782 Lines • Show Last 20 Lines | |||||