お知らせ画面修正 #33
@ -23,6 +23,10 @@ class UserInformationController extends Controller
|
|||||||
->limit(10)
|
->limit(10)
|
||||||
->get();
|
->get();
|
||||||
|
|
||||||
|
\Log::info('お知らせ画面にアクセス', [
|
||||||
|
'user_id' => $user_id,
|
||||||
|
]);
|
||||||
|
|
||||||
return view('user_information.index', [
|
return view('user_information.index', [
|
||||||
'user_name' => $user_name, // ユーザー名(ヘッダー用)
|
'user_name' => $user_name, // ユーザー名(ヘッダー用)
|
||||||
'informations' => $informations
|
'informations' => $informations
|
||||||
@ -44,6 +48,10 @@ class UserInformationController extends Controller
|
|||||||
->select('entry_date', 'user_information_history')
|
->select('entry_date', 'user_information_history')
|
||||||
->paginate(10);
|
->paginate(10);
|
||||||
|
|
||||||
|
\Log::info('過去のお知らせ画面にアクセス', [
|
||||||
|
'user_id' => $user_id,
|
||||||
|
]);
|
||||||
|
|
||||||
return view('user_information.history', [
|
return view('user_information.history', [
|
||||||
'user_name' => $user_name, // ユーザー名(ヘッダー用)
|
'user_name' => $user_name, // ユーザー名(ヘッダー用)
|
||||||
'informations' => $informations
|
'informations' => $informations
|
||||||
|
|||||||
@ -6,7 +6,7 @@
|
|||||||
</header>
|
</header>
|
||||||
<section id="" class="container mt30 mb50">
|
<section id="" class="container mt30 mb50">
|
||||||
<div class="col-12 col-md-8 offset-0 offset-md-2 mb30">
|
<div class="col-12 col-md-8 offset-0 offset-md-2 mb30">
|
||||||
<h3 class="text-center alert-success">お知らせ一覧</h3>
|
<h3 class="text-center alert-success">過去のお知らせ</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
@forelse($informations as $information)
|
@forelse($informations as $information)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user