You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xshop/resources/views/vendor/starter-kit/admin/LogIndex.blade.php

52 lines
1.5 KiB
PHTML

2 years ago
@extends('starter-kit::layouts.adminlayout')
@section('page_title')
{{__("Comments")}}
-
@endsection
@section('content')
<div class="container">
@include('starter-kit::component.err')
<table class="table table-striped table-bordered ">
<thead class="thead-dark">
<tr>
<th>
{{__("User")}}
</th>
<th>
{{__("Action")}}
</th>
<th>
{{__("Information")}}
</th>
<th>
{{__("Date")}}
</th>
</tr>
</thead>
<tbody>
@foreach ($logs as $log)
<tr>
<td>
{{$log->user->name}}
</td>
<td>
{{__("$log->action")}}
2 years ago
</td>
<td>
{{__($log->loggable_type)}}|
{{$log->loggable_id}}
</td>
<td>
{{$log->persianDate()}}
</td>
</tr>
@endforeach
</tbody>
</table>
<div class="text-center pt-3">
{{$logs->links()}}
</div>
</div>
@endsection