Skip to content

Commit

Permalink
+ Menu.php
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed May 14, 2015
1 parent a452070 commit 523831b
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions Menu.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<?php
/**
* @link http://hiqdev.com/hipanel-module-ticket
* @license http://hiqdev.com/hipanel-module-ticket/license
* @copyright Copyright (c) 2015 HiQDev
*/

namespace hipanel\modules\ticket;

class Menu extends \hipanel\base\Menu implements \yii\base\BootstrapInterface
{

protected $_menus = [
'sidebar' => [
'where' => [
'after' => ['finance', 'clients', 'dashboard', 'header'],
'before' => ['domains', 'servers', 'hosting'],
],
'items' => [
'tickets' => [
'label' => 'Tickets',
'url' => ['/ticket/ticket/index'],
'icon' => 'fa-ticket',
'items' => [
'tickets' => [
'label' => 'Tickets',
'url' => ['/ticket/ticket/index'],
'icon' => 'fa-ticket',
],
'settings' => [
'label' => 'Tickets settings',
'url' => ['/ticket/ticket/settings'],
'icon' => 'fa-gears',
],
'statistics' => [
'label' => 'Tickets statistic',
'url' => ['/ticket/ticket/statistics'],
'icon' => 'fa-bar-chart',
],
],
],
],
],
];

}

0 comments on commit 523831b

Please sign in to comment.