File size: 2,488 Bytes
52d9fb0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 | @extends('admin.layouts.app')
@section('panel')
<div class="row">
<div class="col-lg-12">
<div class="card">
<div class="card-body p-0">
<div class="table-responsive--sm table-responsive">
<table class="table table--light style--two">
<thead>
<tr>
<th>@lang('Email')</th>
<th>@lang('Subscribe At')</th>
<th>@lang('Action')</th>
</tr>
</thead>
<tbody>
@forelse($subscribers as $subscriber)
<tr>
<td>{{ $subscriber->email }}</td>
<td>{{ showDateTime($subscriber->created_at) }}</td>
<td>
<button class="btn btn-sm btn-outline--danger confirmationBtn"
data-question="@lang('Are you sure to remove this subscriber?')"
data-action="{{ route('admin.subscriber.remove',$subscriber->id) }}"
>
<i class="las la-trash"></i> @lang('Remove')
</button>
</td>
</tr>
@empty
<tr>
<td class="text-muted text-center" colspan="100%">{{ __($emptyMessage) }}</td>
</tr>
@endforelse
</tbody>
</table><!-- table end -->
</div>
</div>
@if ($subscribers->hasPages())
<div class="card-footer py-4">
{{ paginateLinks($subscribers) }}
</div>
@endif
</div><!-- card end -->
</div>
</div>
<x-confirmation-modal />
@endsection
@if($subscribers->count())
@push('breadcrumb-plugins')
<a href="{{ route('admin.subscriber.send.email') }}" class="btn btn-sm btn-outline--primary" ><i class="las la-paper-plane"></i>@lang('Send Email')</a>
@endpush
@endif
|