Compare commits

..

2 Commits

Author SHA1 Message Date
70a0919746 Merge pull request 'お知らせ画面修正' (#33) from main_higashide into main
All checks were successful
Deploy so-manager (auto) / deploy (push) Successful in 20s
Reviewed-on: #33
2025-09-29 15:50:53 +09:00
ecc7095818 お知らせ画面修正 2025-09-29 15:50:17 +09:00
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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)