From 884852600c782c3340c08173658ffcb72078264b Mon Sep 17 00:00:00 2001 From: Joshua Blum Date: Tue, 5 Dec 2023 19:23:52 +0100 Subject: [PATCH] [4.x] Add Laravel Pulse link to global header (#9125) * Add link to global header and Pulse logo as SVG * Always show link in `local` environments --- resources/svg/icons/regular/pulse.svg | 4 ++++ resources/views/partials/global-header.blade.php | 6 ++++++ 2 files changed, 10 insertions(+) create mode 100644 resources/svg/icons/regular/pulse.svg diff --git a/resources/svg/icons/regular/pulse.svg b/resources/svg/icons/regular/pulse.svg new file mode 100644 index 0000000000..28eb7d55ea --- /dev/null +++ b/resources/svg/icons/regular/pulse.svg @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/resources/views/partials/global-header.blade.php b/resources/views/partials/global-header.blade.php index 9795eb1a6e..373c0137fc 100644 --- a/resources/views/partials/global-header.blade.php +++ b/resources/views/partials/global-header.blade.php @@ -36,6 +36,12 @@ @endif + @if (Route::has('pulse') && (app()->environment('local') || $user->can('viewPulse'))) + + @endif + @if (config('nova.path') && (app()->environment('local') || $user->can('viewNova')))