[Superuser] Perbaikan Halaman Akses Superuser

This commit is contained in:
Ariyutta
2026-11-12 12:22:06 +07:00
parent 2b20537fdb
commit eaad95e8f2
45 changed files with 1062 additions and 110 deletions
@@ -36,7 +36,7 @@ class KonsultasiController extends Controller
return view('operator.satu.remote-list', [
'page' => $page,
'crumbs' => ['Beranda' => route('operator.dashboard')] + array_fill_keys(Catalog::trail(self::SLUG), null) + [$page['title'] => null],
'crumbs' => ['Beranda' => route(auth()->user()->role->dashboardRoute())] + array_fill_keys(Catalog::trail(self::SLUG), null) + [$page['title'] => null],
'note' => 'Konsultasi pembimbing asli dari SIAKAD untuk program studi yang Anda kelola (pesan pembimbing akademik). Topik diambil dari awal pesan pertama. Pilih Lihat untuk membuka riwayat percakapan.',
'empty' => $prodi === []
? ['icon' => 'building-library', 'title' => 'Akun belum terhubung ke program studi', 'description' => 'Daftar konsultasi tampil setelah akun Anda dipetakan ke program studi oleh Pusat Komputer.']
@@ -81,7 +81,7 @@ class KonsultasiController extends Controller
return view('operator.satu.konsultasi-detail', [
'page' => $page,
'crumbs' => ['Beranda' => route('operator.dashboard')] + array_fill_keys(Catalog::trail(self::SLUG), null) + [$page['title'] => route('operator.halaman', self::SLUG), 'Percakapan' => null],
'crumbs' => ['Beranda' => route(auth()->user()->role->dashboardRoute())] + array_fill_keys(Catalog::trail(self::SLUG), null) + [$page['title'] => route('operator.halaman', self::SLUG), 'Percakapan' => null],
'thread' => $thread,
'back' => route('operator.halaman', self::SLUG),
]);