add default const to simplify setting and resetting the list
This commit is contained in:
parent
03cbbc0db6
commit
7b4da30342
@ -4,20 +4,23 @@ namespace App\Libs;
|
||||
|
||||
class NavList
|
||||
{
|
||||
public const DEFAULT = 'nav-link text-dark';
|
||||
|
||||
public const LIST = [
|
||||
'admin_dashboard' => 'nav-link text-dark',
|
||||
'user_dashboard' => 'nav-link text-dark',
|
||||
'profile' => 'nav-link text-dark',
|
||||
'user_list' => 'nav-link text-dark',
|
||||
'staff_dashboard' => 'nav-link text-dark',
|
||||
'case_list' => 'nav-link text-dark',
|
||||
'add_user' => 'nav-link text-dark',
|
||||
'referral_sources' => 'nav-link text-dark',
|
||||
'case_notes' => 'nav-link text-dark',
|
||||
'community_resources' => 'nav-link text-dark',
|
||||
'my_cases' => 'nav-link text-dark',
|
||||
'staff_notes' => 'nav-link text-dark',
|
||||
'case_itinerary' => 'nav-link text-dark',
|
||||
'admin_dashboard' => self::DEFAULT,
|
||||
'user_dashboard' => self::DEFAULT,
|
||||
'profile' => self::DEFAULT,
|
||||
'user_list' => self::DEFAULT,
|
||||
'staff_dashboard' => self::DEFAULT,
|
||||
'case_list' => self::DEFAULT,
|
||||
'add_user' => self::DEFAULT,
|
||||
'referral_sources' => self::DEFAULT,
|
||||
'case_notes' => self::DEFAULT,
|
||||
'community_resources' => self::DEFAULT,
|
||||
'my_cases' => self::DEFAULT,
|
||||
'staff_notes' => self::DEFAULT,
|
||||
'case_itinerary' => self::DEFAULT,
|
||||
'company_nav' => self::DEFAULT,
|
||||
];
|
||||
|
||||
public const PRESENT_LINK = 'nav-link text-white active bg-gradient-dark';
|
||||
|
Loading…
Reference in New Issue
Block a user