git -C '/home/opc/rocketa.git' show 33978f1 -- resources/views/media/ad/list.blade.phpcommit 33978f1b6bf3c16c62ee295347b2efc9bc751019
Author: Satoshi Ujihara <satoshi_ujihara@fivegate.jp>
Date: Fri Oct 10 19:28:43 2025 +0900
no message
diff --git a/resources/views/media/ad/list.blade.php b/resources/views/media/ad/list.blade.php
index 14d778d..6ed69dd 100644
--- a/resources/views/media/ad/list.blade.php
+++ b/resources/views/media/ad/list.blade.php
@@ -9,12 +9,12 @@
{{-- コンテンツ内容 .main_col内 --}}
@section('content')
- <h2 class="mb-3 pb-2 border-bottom">広告管理 -広告一覧</h2>
+ <h2 class="mb-3 pb-2 border-bottom">{{__('ad-list.ad-management')}} -{{__('ad-list.ad-list')}}</h2>
<div class="accordion mb-3" id="accordion" role="tablist">
<div class="card-header p-0 bg-dark" role="tab" id="heading1">
<h5 class="mb-0 position-relative">
- <a data-bs-toggle="collapse" class="text-decoration-none text-white vector_icon" href="{{ url('#collapse') }}" aria-expanded="true" aria-controls="collapse">検索</a>
+ <a data-bs-toggle="collapse" class="text-decoration-none text-white vector_icon" href="{{ url('#collapse') }}" aria-expanded="true" aria-controls="collapse">{{__('ad-list.search')}}</a>
</h5>
</div>
@@ -25,7 +25,7 @@
<div class="form_box border mb-2">
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告ID', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.ad-id'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -37,7 +37,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'フリーワード', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.free-word'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -49,7 +49,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '対応デバイス', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.supported-devices'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -66,7 +66,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告種別', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.ad-type'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -83,7 +83,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '広告カテゴリー', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.ad-category'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -108,7 +108,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'アイコン表示', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.icon-display'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-4 px-0 d-flex align-items-center">
@@ -123,19 +123,19 @@
</div>
<div class="col-sm-2 px-0 align-items-center bg-gray d-flex align-items-center half_col_r">
- {{ Form::label('', '提携承認設定', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.partnership-approval-setting'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-4 px-0 d-flex align-items-center">
<div class="p-2 w-100">
<div class="form-check form-check-inline">
{{ Form::checkbox('result_type[]', 1, (in_array(1, $conditions['result_type'])), ['class'=>'form-check-input', 'id'=>'search_form_check_5_1'])}}
- {{ Form::label('search_form_check_5_1', '自動承認', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_5_1', __('ad-list.auto-approval'), ['class'=>'form-check-label']) }}
</div>
<div class="form-check form-check-inline">
{{ Form::checkbox('result_type[]', 0, (in_array(0, $conditions['result_type'])), ['class'=>'form-check-input', 'id'=>'search_form_check_5_2'])}}
- {{ Form::label('search_form_check_5_2', '手動承認', ['class'=>'form-check-label']) }}
+ {{ Form::label('search_form_check_5_2', __('ad-list.manual-approval'), ['class'=>'form-check-label']) }}
</div>
</div>
</div>
@@ -143,7 +143,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '登録日', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.registration-date'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -165,7 +165,7 @@
<div class="form-group row m-0 border-bottom">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', 'メディア', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.media'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
@@ -179,15 +179,15 @@
<div class="form-group row m-0">
<div class="col-sm-2 px-0 bg-gray d-flex align-items-center">
- {{ Form::label('', '表示件数', ['class'=>'px-2 col-form-label']) }}
+ {{ Form::label('', __('ad-list.display-count'), ['class'=>'px-2 col-form-label']) }}
</div>
<div class="col-sm-10 px-0 d-flex align-items-center">
<div class="p-2 w-100">
{{ Form::select('count', [
- '20' => '20件',
- '50' => '50件',
- '100' => '100件'],
+ '20' => '20'.__('ad-list.items'),
+ '50' => '50'.__('ad-list.items'),
+ '100' => '100'.__('ad-list.items')],
$conditions['count'], ['class'=>'form-select']
)}}
</div>
@@ -197,13 +197,13 @@
<div class="row mx-0 mb-3 justify-content-end w-100">
<div class="col-md-2 p-0">
- {{ Form::reset('条件を解除', ['class'=>'btn btn-secondary w-100']) }}
+ {{ Form::reset(__('ad-list.clear-filters'), ['class'=>'btn btn-secondary w-100']) }}
</div>
</div>
<div class="row mx-0 justify-content-center w-100">
<div class="col-md-8 p-0">
- {{ Form::submit('検索', ['class'=>'btn btn-primary btn-lg w-100']) }}
+ {{ Form::submit(__('ad-list.search'), ['class'=>'btn btn-primary btn-lg w-100']) }}
</div>
</div>
@@ -215,7 +215,7 @@
</div><!-- /.accordion -->
<div class="form_box mb-3">
- <h5 class="mb-0 text-white bg-dark form_head">広告一覧</h5>
+ <h5 class="mb-0 text-white bg-dark form_head">{{__('ad-list.ad-list')}}</h5>
@if ($ad_datas->total() > 0)
<div class="inner_box border mb-3" style="padding-bottom: 0.75rem;">
@@ -261,13 +261,13 @@
<div class="table-responsive">
<table class="table table-bordered text-nowrap mb-0">
<tr>
- <th class="bg-light align-middle" style="width: 10%;" scope="row">運営会社</th>
+ <th class="bg-light align-middle" style="width: 10%;" scope="row">{{__('ad-list.operating-company')}}</th>
<td class="" style="width: 40%;">
{{ $ad_data->management_company }}
</td>
- <th class="bg-light align-middle" style="width: 10%;" scope="row">広告ID</th>
+ <th class="bg-light align-middle" style="width: 10%;" scope="row">{{__('ad-list.ad-id')}}</th>
<td class="" style="width: 40%;">
{{ $ad_data->id }}
@@ -275,30 +275,30 @@
</tr>
<tr>
- <th class="bg-light align-middle" scope="row">成果地点</th>
+ <th class="bg-light align-middle" scope="row">{{__('ad-list.conversion-point')}}</th>
<td class="">
{{ $ad_data->success_criteria }}
</td>
- <th class="bg-light align-middle" scope="row">成果報酬</th>
+ <th class="bg-light align-middle" scope="row">{{__('ad-list.reward-per-conversion')}}</th>
<td class="">
@if (isset($ad_reward_datas[$ad_data->id]))
{{ number_format($ad_reward_datas[$ad_data->id]['net_price']) }}
@if ($ad_reward_datas[$ad_data->id]['net_price_unit'] == 1)
- 円
+ {{__('ad-list.jpy')}}
@else
%
@endif
@else
- 0円
+ 0{{__('ad-list.jpy')}}
@endif
</td>
</tr>
<tr>
- <th class="bg-light align-middle" scope="row">開始日</th>
+ <th class="bg-light align-middle" scope="row">{{__('ad-list.start-date')}}</th>
<td>
@if ($ad_data->valid_start_date != '1000-01-01 00:00:00')
@@ -306,7 +306,7 @@
@endif
</td>
- <th class="bg-light align-middle" scope="row">終了日</th>
+ <th class="bg-light align-middle" scope="row">{{__('ad-list.end-date')}}</th>
<td>
@if ($ad_data->valid_end_date != '9999-12-31 23:59:59')
@@ -316,13 +316,13 @@
</tr>
<tr>
- <th class="bg-light align-middle" scope="row">カテゴリー</th>
+ <th class="bg-light align-middle" scope="row">{{__('ad-list.category')}}</th>
<td>
{{ \Config::get('const.ad_category')[$ad_data->category] }}
</td>
- <th class="bg-light align-middle" scope="row">対象デバイス</th>
+ <th class="bg-light align-middle" scope="row">{{__('ad-list.target-devices')}}</th>
<td class="text-wrap">
@foreach (\Config::get('const.device_list') as $device_data)
@@ -368,28 +368,28 @@
<div class="row m-0 justify-content-center btn_box">
<div class="col-sm-4 mb-3 p-0 px-1">
@if ($ad_data->status == 0 || date('Y-m-d H:i:s') < $ad_data->valid_start_date || date('Y-m-d H:i:s') >= $ad_data->valid_end_date)
- <div class="btn btn-success w-100 disabled opa-10">掲載終了</div>
+ <div class="btn btn-success w-100 disabled opa-10">{{__('ad-list.placement-ended')}}</div>
@elseif (isset($ad_join_media_datas[$ad_data->id]))
@if ($ad_join_media_datas[$ad_data->id]->status == 0)
- <div class="btn btn-outline-primary w-100 disabled opa-10">提携申請中</div>
+ <div class="btn btn-outline-primary w-100 disabled opa-10">{{__('ad-list.pending-partnership')}}</div>
@elseif ($ad_join_media_datas[$ad_data->id]->status == 1)
- <div class="btn btn-success w-100 disabled opa-10">提携中</div>
+ <div class="btn btn-success w-100 disabled opa-10">{{__('ad-list.partnership-active')}}</div>
@else
- <div class="btn btn-outline-danger w-100 disabled opa-10">提携否認</div>
+ <div class="btn btn-outline-danger w-100 disabled opa-10">{{__('ad-list.partnership-denied')}}</div>
@endif
@else
{{ Form::hidden('ad_id', $ad_data->id) }}
{{ Form::hidden('media_id', $conditions['media_id']) }}
- {{ Form::submit('提携申請する', ['class'=>'btn btn-primary w-100']) }}
+ {{ Form::submit(__('ad-list.apply-for-partnership'), ['class'=>'btn btn-primary w-100']) }}
@endif
</div>
<div class="col-sm-4 mb-3 p-0 px-1">
- <a class="btn btn-secondary w-100" href="{{ url('/ad/detail/'.$ad_data->id.'/'.$conditions['media_id'].'#material_area') }}">広告原稿閲覧</a>
+ <a class="btn btn-secondary w-100" href="{{ url('/ad/detail/'.$ad_data->id.'/'.$conditions['media_id'].'#material_area') }}">{{__('ad-list.view-ad-creative')}}</a>
</div>
<div class="col-sm-4 mb-3 p-0 px-1">
- <a class="btn btn-secondary w-100" href="{{ url('/ad/detail/'.$ad_data->id.'/'.$conditions['media_id']) }}">広告詳細を確認</a>
+ <a class="btn btn-secondary w-100" href="{{ url('/ad/detail/'.$ad_data->id.'/'.$conditions['media_id']) }}">{{__('ad-list.view-ad-details')}}</a>
</div>
</div>
{{ Form::close() }}
@@ -417,8 +417,7 @@
@else
<div class="inner_box text-center">
- 該当データはありません。<br>
- 条件を変更して検索してください。
+ {!!__('ad-list.no-matching-data')!!}
</div>
@endif