update studio links list blade
This commit is contained in:
parent
9a3b44d4a9
commit
c5bff25413
|
@ -8,19 +8,23 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th scope="col">Link</th>
|
<th scope="col">Link</th>
|
||||||
<th scope="col">Edit</th>
|
<th scope="col">Title</th>
|
||||||
<th scope="col">Click</th>
|
<th scope="col">Click</th>
|
||||||
<th scope="col">Up Link</th>
|
<th scope="col">Order ⏶</th>
|
||||||
|
<th scope="col">Up Link ⏶</th>
|
||||||
|
<th scope="col">Edit</th>
|
||||||
<th scope="col">Delete</th>
|
<th scope="col">Delete</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@foreach($links as $link)
|
@foreach($links as $link)
|
||||||
<tr>
|
<tr>
|
||||||
<td title="{{ $link->link }}">{{ Str::limit($link->link, 30) }}</td>
|
<td title="{{ $link->link }}">{{ Str::limit($link->link, 50) }}</td>
|
||||||
<td><a href="{{ route('editLink', $link->id ) }}">Edit</a></td>
|
<td title="{{ $link->title }}">{{ Str::limit($link->title, 50) }}</td>
|
||||||
<td>{{ $link->click_number }}</td>
|
<td>{{ $link->click_number }}</td>
|
||||||
|
<td>{{ $link->order }}</td>
|
||||||
<td><a href="{{ route('upLink', ['up' => $link->up_link, 'id' => $link->id]) }}" class="text-primary">{{ $link->up_link }}</a></td>
|
<td><a href="{{ route('upLink', ['up' => $link->up_link, 'id' => $link->id]) }}" class="text-primary">{{ $link->up_link }}</a></td>
|
||||||
|
<td><a href="{{ route('editLink', $link->id ) }}">Edit</a></td>
|
||||||
<td><a href="{{ route('deleteLink', $link->id ) }}" class="text-danger">Delete</a></td>
|
<td><a href="{{ route('deleteLink', $link->id ) }}" class="text-danger">Delete</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
|
|
Loading…
Reference in New Issue