From 52ae1722b32bc6c594d8568f948ccc5930852dd9 Mon Sep 17 00:00:00 2001 From: David Bomba Date: Tue, 13 Feb 2024 14:03:59 +1100 Subject: [PATCH] Add selector for company logo on main page --- resources/views/portal/ninja2020/auth/login.blade.php | 2 +- resources/views/portal/ninja2020/layout/clean.blade.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/views/portal/ninja2020/auth/login.blade.php b/resources/views/portal/ninja2020/auth/login.blade.php index 44fdaf5d3975..81c8d48f2595 100644 --- a/resources/views/portal/ninja2020/auth/login.blade.php +++ b/resources/views/portal/ninja2020/auth/login.blade.php @@ -21,7 +21,7 @@ @if($account && !$account->isPaid())
Invoice Ninja logo + class="border-b border-gray-100 h-18 pb-4" alt="Invoice Ninja logo" id="company_logo">
@elseif(isset($company) && !is_null($company))
diff --git a/resources/views/portal/ninja2020/layout/clean.blade.php b/resources/views/portal/ninja2020/layout/clean.blade.php index fb4f16513480..20ec02301688 100644 --- a/resources/views/portal/ninja2020/layout/clean.blade.php +++ b/resources/views/portal/ninja2020/layout/clean.blade.php @@ -98,6 +98,11 @@ @livewireStyles + @if((bool) \App\Utils\Ninja::isSelfHost() && isset($company)) + + @endif