pushuo 2022-11-14 15:51:28 +08:00
parent 34d91c1bf6
commit e086c2f570
1 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@
<div class="d-flex justify-content-between mb-4">
<a href="{{ admin_route('pages.create') }}" class="btn btn-primary">{{ __('common.add') }}</a>
</div>
<table class="table">
<thead>
<tr>
@ -30,7 +31,7 @@
<tr>
<td>{{ $page['id'] }}</td>
<td>
<div title="{{ $page['title'] ?? '' }}">{{ $page['title_format'] ?? '' }}</div>
<div title="{{ $page['title'] ?? '' }}"><a class="text-dark" href="{{ shop_route('pages.show', $page['id']) }}" target="_blank">{{ $page['title_format'] ?? '' }}</a></div>
</td>
<td class="{{ $page['active'] ? 'text-success' : 'text-secondary' }}">
{{ $page['active'] ? __('common.enable') : __('common.disable') }}