[Superuser] Perbaikan Halaman Akses Superuser
This commit is contained in:
@@ -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),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user