mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-01 19:22:42 +01:00
22 lines
468 B
PHP
22 lines
468 B
PHP
|
<?php
|
||
|
|
||
|
abstract class PhabricatorMacroController
|
||
|
extends PhabricatorController {
|
||
|
|
||
|
protected function buildSideNavView(PhabricatorFileImageMacro $macro = null) {
|
||
|
$nav = new AphrontSideNavFilterView();
|
||
|
$nav->setBaseURI(new PhutilURI($this->getApplicationURI()));
|
||
|
|
||
|
$nav->addLabel('Create');
|
||
|
$nav->addFilter('edit', 'Create Macro');
|
||
|
|
||
|
$nav->addSpacer();
|
||
|
|
||
|
$nav->addLabel('Macros');
|
||
|
$nav->addFilter('', 'All Macros');
|
||
|
|
||
|
return $nav;
|
||
|
}
|
||
|
|
||
|
}
|