2022-04-23 16:25:16 -07:00
|
|
|
@extends('admin.layout')
|
|
|
|
|
|
|
|
@section('pg-nav')
|
|
|
|
<x-admin.nav :section="'joined'" />
|
|
|
|
@endsection
|
|
|
|
|
2022-04-23 19:31:00 -07:00
|
|
|
@section('pg-title', 'Joined')
|
|
|
|
|
|
|
|
@section('content')
|
2022-04-23 19:53:35 -07:00
|
|
|
@inject('Category', 'App\Models\Category')
|
|
|
|
|
2022-04-23 19:31:00 -07:00
|
|
|
<table class="table">
|
|
|
|
<thead class="table__thead">
|
|
|
|
<tr>
|
|
|
|
<th>{{-- approved --}}</th>
|
|
|
|
<th>Subject</th> {{-- link --}}
|
|
|
|
<th>Categories</th>
|
|
|
|
<th>Image</th>
|
|
|
|
<th colspan="3">Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody class="table__tbody">
|
|
|
|
@foreach ($joined as $fl)
|
|
|
|
<tr>
|
2022-04-23 19:53:35 -07:00
|
|
|
<td>
|
|
|
|
@if (!$fl->approved)
|
|
|
|
<span class="text--error">×</span>
|
|
|
|
@endif
|
|
|
|
</td>
|
2022-04-23 19:31:00 -07:00
|
|
|
<td><a href="{{ $fl->url }}" target="_blank">{{ $fl->subject }}</a></td>
|
2022-04-23 19:53:35 -07:00
|
|
|
<td>{{ $fl->listCategories() }}</td>
|
2022-04-23 19:31:00 -07:00
|
|
|
<td><img src="{{ $fl->image }}"></td>
|
2022-04-23 19:53:35 -07:00
|
|
|
<td></td>
|
|
|
|
<td></td>
|
|
|
|
<td></td>
|
2022-04-23 19:31:00 -07:00
|
|
|
</tr>
|
|
|
|
@endforeach
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{{ $joined->links() }}
|
|
|
|
@endsection
|