From e793b377d7dc4e0d1a31db952a39fcf8dc68f4bf Mon Sep 17 00:00:00 2001 From: mirivlad Date: Thu, 26 Mar 2026 09:03:19 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20-=20=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2?= =?UTF-8?q?=D0=BB=D0=B5=D0=BD=D1=8B=20=D0=BC=D0=B0=D1=80=D1=88=D1=80=D1=83?= =?UTF-8?q?=D1=82=D1=8B=20=D0=B3=D1=80=D1=83=D0=BF=D0=BF=20(admin.organiza?= =?UTF-8?q?tions.groups.*)=20-=20=D0=92=D1=8B=D0=BD=D0=B5=D1=81=D0=B5?= =?UTF-8?q?=D0=BD=20=D1=81=D0=B0=D0=B9=D0=B4=D0=B1=D0=B0=D1=80=20=D0=B2=20?= =?UTF-8?q?partial=20(=5Fsidebar.blade.php)=20-=20=D0=94=D0=BE=D0=B1=D0=B0?= =?UTF-8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B0=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA?= =?UTF-8?q?=D0=B0=20=D0=BD=D0=B0=20=D0=9E=D1=82=D1=87=D1=91=D1=82=D1=8B=20?= =?UTF-8?q?=D0=B2=20=D1=81=D0=B0=D0=B9=D0=B4=D0=B1=D0=B0=D1=80=20-=20?= =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=BB=D0=B5=D0=BD=D1=8B=20=D0=B2?= =?UTF-8?q?=D1=81=D0=B5=20=D1=88=D0=B0=D0=B1=D0=BB=D0=BE=D0=BD=D1=8B=20?= =?UTF-8?q?=D0=B4=D0=BB=D1=8F=20=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7?= =?UTF-8?q?=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8=D1=8F=20partial?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Qwen-Coder --- resources/views/admin/groups/create.blade.php | 13 +-- resources/views/admin/groups/edit.blade.php | 13 +-- resources/views/admin/groups/index.blade.php | 13 +-- .../admin/organizations/create.blade.php | 13 +-- .../views/admin/organizations/edit.blade.php | 13 +-- .../views/admin/organizations/index.blade.php | 25 +----- .../views/admin/organizations/show.blade.php | 15 +--- resources/views/dashboard/admin.blade.php | 28 +----- resources/views/partials/_sidebar.blade.php | 87 +++++++++++++++++++ 9 files changed, 96 insertions(+), 124 deletions(-) create mode 100644 resources/views/partials/_sidebar.blade.php diff --git a/resources/views/admin/groups/create.blade.php b/resources/views/admin/groups/create.blade.php index 65464fd..e21b793 100644 --- a/resources/views/admin/groups/create.blade.php +++ b/resources/views/admin/groups/create.blade.php @@ -7,18 +7,7 @@
diff --git a/resources/views/admin/groups/edit.blade.php b/resources/views/admin/groups/edit.blade.php index 08ac2b2..58bc94c 100644 --- a/resources/views/admin/groups/edit.blade.php +++ b/resources/views/admin/groups/edit.blade.php @@ -7,18 +7,7 @@
diff --git a/resources/views/admin/groups/index.blade.php b/resources/views/admin/groups/index.blade.php index 868cd23..bdd25cf 100644 --- a/resources/views/admin/groups/index.blade.php +++ b/resources/views/admin/groups/index.blade.php @@ -7,18 +7,7 @@
diff --git a/resources/views/admin/organizations/create.blade.php b/resources/views/admin/organizations/create.blade.php index dd9d9b6..1fe9b32 100644 --- a/resources/views/admin/organizations/create.blade.php +++ b/resources/views/admin/organizations/create.blade.php @@ -7,18 +7,7 @@
diff --git a/resources/views/admin/organizations/edit.blade.php b/resources/views/admin/organizations/edit.blade.php index 65cc1a0..992be58 100644 --- a/resources/views/admin/organizations/edit.blade.php +++ b/resources/views/admin/organizations/edit.blade.php @@ -7,18 +7,7 @@
diff --git a/resources/views/admin/organizations/index.blade.php b/resources/views/admin/organizations/index.blade.php index 57b0cf2..7e7c28b 100644 --- a/resources/views/admin/organizations/index.blade.php +++ b/resources/views/admin/organizations/index.blade.php @@ -8,30 +8,7 @@ diff --git a/resources/views/admin/organizations/show.blade.php b/resources/views/admin/organizations/show.blade.php index a02539b..7a7ed44 100644 --- a/resources/views/admin/organizations/show.blade.php +++ b/resources/views/admin/organizations/show.blade.php @@ -7,18 +7,7 @@
@@ -148,7 +137,7 @@
Группы
@can('create', App\Models\Group::class) - + @endcan diff --git a/resources/views/dashboard/admin.blade.php b/resources/views/dashboard/admin.blade.php index 1ac591c..4d97ac3 100644 --- a/resources/views/dashboard/admin.blade.php +++ b/resources/views/dashboard/admin.blade.php @@ -8,33 +8,7 @@ diff --git a/resources/views/partials/_sidebar.blade.php b/resources/views/partials/_sidebar.blade.php new file mode 100644 index 0000000..15dd8ef --- /dev/null +++ b/resources/views/partials/_sidebar.blade.php @@ -0,0 +1,87 @@ +@php + $currentRoute = request()->route()->getName(); +@endphp + +