File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 13
13
"Custom CSS" : " Custom CSS" ,
14
14
"Custom Footer HTML" : " Custom Footer HTML" ,
15
15
"Custom Header HTML" : " Custom Header HTML" ,
16
+ "Dashboard" : " Dashboard" ,
16
17
"Fixed" : " Fixed" ,
17
18
"Guests" : " Guests" ,
18
19
"Identified" : " Identified" ,
Original file line number Diff line number Diff line change 11
11
</div >
12
12
13
13
<div class =" flex items-center gap-2.5 sm:gap-5" >
14
- <a href =" # " class =" text-sm font-medium text-zinc-800 transition hover:text-zinc-700 dark:text-white dark:text-zinc-500 dark:hover:text-zinc-300 sm:text-base" >Dashboard</a >
14
+ <a href =" {{ Cachet \Cachet :: dashboardPath () } } " class =" text-sm font-medium text-zinc-800 transition hover:text-zinc-700 dark:text-white dark:text-zinc-500 dark:hover:text-zinc-300 sm:text-base" >{{ __ ( ' Dashboard' ) } } </a >
15
15
{{-- Condition Button. --}}
16
16
{{-- <a href="{{ route('cachet.dashboard.index') }}" class="text-sm font-medium text-zinc-800 transition hover:text-zinc-700 dark:text-white dark:text-zinc-500 dark:hover:text-zinc-300 sm:text-base">Logout</a>--}}
17
17
{{-- Conditional Button. --}}
Original file line number Diff line number Diff line change @@ -58,15 +58,15 @@ public static function routes(): PendingRouteRegistration
58
58
*/
59
59
public static function path (): string
60
60
{
61
- return config ('cachet.path ' , '/ status ' );
61
+ return config ('cachet.path ' , 'status ' );
62
62
}
63
63
64
64
/**
65
65
* Get the URI path prefix used by Cachet's dashboard.
66
66
*/
67
67
public static function dashboardPath (): string
68
68
{
69
- return config ('cachet.dashboard_path ' , static ::path ().'/ dashboard ' );
69
+ return config ('cachet.dashboard_path ' , static ::path ().'dashboard ' );
70
70
}
71
71
72
72
/**
You can’t perform that action at this time.
0 commit comments