Skip to content

Commit 1865d58

Browse files
authored
Add today link to timeline template #69 (#108)
1 parent 8c419e8 commit 1865d58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

resources/views/components/incident-timeline.blade.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626
</a>
2727

2828
@if($canPageForward)
29+
<a href="{{ route('cachet.status-page') }}" class="flex items-center gap-1 border dark:border-zinc-400 py-2 px-3 rounded-lg text-zinc-500 dark:text-zinc-400 hover:underline text-sm">
30+
{{ __('Today') }}
31+
</a>
32+
2933
<a href="{{ route('cachet.status-page', ['from' => $nextPeriodTo]) }}" class="flex items-center gap-1 border dark:border-zinc-400 py-2 px-3 rounded-lg text-zinc-500 dark:text-zinc-400 hover:underline text-sm">
3034
{{ __('Next') }}
3135
<x-heroicon-m-chevron-right class="size-5" />

0 commit comments

Comments
 (0)