/** * Announces this controller's navGroups * @return stdClass */ public static function announce() { if (userHasPermission('admin:faq:faq:manage')) { $navGroup = new \Nails\Admin\Nav('FAQs', 'fa-question-circle'); $navGroup->addAction('Manage FAQs'); return $navGroup; } }
/** * Announces this controller's navGroups * @return stdClass */ public static function announce() { if (userHasPermission('admin:order:order:manage')) { $navGroup = new \Nails\Admin\Nav('Orders & Payments', 'fa-credit-card'); $navGroup->addAction('Manage orders'); return $navGroup; } }