From f54a583e7876399e20de26d4537fb01ae618e3b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=20=D0=9B=D0=B0=D1=80?= =?UTF-8?q?=D0=B8=D0=BE=D0=BD=D0=BE=D0=B2?= Date: Sat, 27 Apr 2024 21:38:42 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D0=BC=D0=BC=D0=B8=D1=82=20=D0=BD=D0=B0?= =?UTF-8?q?=20=D1=81=D1=83=D0=B1=D0=B1=D0=BE=D1=82=D1=83-2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Classes/StatusUser.php | 2 ++ resources/views/index.blade.php | 6 +++++- resources/views/modals/send_message_noaut2.blade.php | 11 +++++++++++ resources/views/modals/send_message_noaut3.blade.php | 1 + 4 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 resources/views/modals/send_message_noaut3.blade.php diff --git a/app/Classes/StatusUser.php b/app/Classes/StatusUser.php index b93d915..63c9e8c 100644 --- a/app/Classes/StatusUser.php +++ b/app/Classes/StatusUser.php @@ -4,6 +4,8 @@ namespace App\Classes; +use App\Models\Employer; + class StatusUser { public static function Status() { diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index 82fa045..146ca8f 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -48,7 +48,11 @@ @guest Я ищу сотрудника @else - Я ищу сотрудника + @if (Auth()->user()->is_lookin) + Я ищу сотрудника + @else + Я ищу сотрудника + @endif @endguest
Скачать приложение diff --git a/resources/views/modals/send_message_noaut2.blade.php b/resources/views/modals/send_message_noaut2.blade.php index 6135e77..7d1f0a5 100644 --- a/resources/views/modals/send_message_noaut2.blade.php +++ b/resources/views/modals/send_message_noaut2.blade.php @@ -8,3 +8,14 @@
+ + diff --git a/resources/views/modals/send_message_noaut3.blade.php b/resources/views/modals/send_message_noaut3.blade.php new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/resources/views/modals/send_message_noaut3.blade.php @@ -0,0 +1 @@ + -- 1.7.10.4