Skip to content

Commit

Permalink
Merge pull request #24 from victorlap/feat-showmodels
Browse files Browse the repository at this point in the history
Show details about models
  • Loading branch information
barryvdh authored Feb 27, 2020
2 parents a4866a5 + b0f2b83 commit 635bbd3
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 635bbd3

Please sign in to comment.