mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-04 20:52:43 +01:00
bde9ac43e7
Summary: Adds basic NUX UI to Countdown, Paste, Phurl, Ponder, Slowvote, Macro, and Pholio. Test Plan: Review each with ?nux=true. Click on Create Button. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D14840
22 lines
556 B
PHP
22 lines
556 B
PHP
<?php
|
|
|
|
abstract class PhabricatorCountdownController extends PhabricatorController {
|
|
|
|
public function buildApplicationMenu() {
|
|
return $this->newApplicationMenu()
|
|
->setSearchEngine(new PhabricatorCountdownSearchEngine());
|
|
}
|
|
|
|
protected function buildApplicationCrumbs() {
|
|
$crumbs = parent::buildApplicationCrumbs();
|
|
|
|
$crumbs->addAction(
|
|
id(new PHUIListItemView())
|
|
->setName(pht('Create Countdown'))
|
|
->setHref($this->getApplicationURI('create/'))
|
|
->setIcon('fa-plus-square'));
|
|
|
|
return $crumbs;
|
|
}
|
|
|
|
}
|