Skip to content

Commit

Permalink
Show details about models
Browse files Browse the repository at this point in the history
  • Loading branch information
victorlap committed Feb 26, 2020
1 parent a4866a5 commit b0f2b83
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions resources/views/collectors/models.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,37 @@

@endslot

@slot('text')

<div class="sf-toolbar-info-piece">
<table class="sf-toolbar-previews">

<thead>
<tr>
<th>Action</th>
<th>Model</th>
</tr>
</thead>

<tbody>
@foreach ($entries as $entry)
<tr>
<td>
{{ $entry->content['action'] }}
</td>

<td>
<a href="{{ route('telescope') }}/models/{{ $entry->id }}" target="_telescope">
{{ $entry->content['model'] }}
</a>
</td>
</tr>
@endforeach
</tbody>

</table>
</div>

@endslot

@endcomponent

0 comments on commit b0f2b83

Please sign in to comment.