@if(count($tables) == 0) No tables yet. @else @foreach($tables as $table) @php $forks = $table->forks_count; $faves = $table->favourites_count; $revs = $table->revisions_count; $rows = $table->revision->row_count; @endphp {{-- this must be span so that Lynx includes the table name in the anchor --}}
@icon(fa-table fa-pr){{ $table->title }}
{{-- --}}
{{-- --}} {{ $table->visits }}@icon(fa-eye fa-pl, ~Visits~~) {{-- --}} {{ $forks }}@icon(fa-code-fork fa-pl, ~Forks~~) {{-- --}} {{ $faves }}@icon(fa-star fa-pl, ~Favourites~~) {{-- --}} {{ $revs }}@icon(fa-history fa-pl, ~Revisions~~) {{-- --}} {{ $rows }}@icon(fa-th-list fa-pl, ~Rows) {{-- --}}
@sr(Description:~){{ ellipsis($table->description, 215) }}
{{-- --}}
Last change {{ $table->updated_at->diffForHumans() }}
@endforeach @endif