recreate Proposals button/inbox, start of edit page

This commit is contained in:
2018-07-29 17:24:44 +02:00
parent 449a1c4d26
commit c23009b306
8 changed files with 97 additions and 16 deletions
@@ -2,6 +2,10 @@
if (!isset($showAuthors)) $showAuthors = false;
@endphp
@php
/** @var \App\Models\Table[] $tables */
@endphp
<div class="list-group list-group-flush">
@if(count($tables) == 0)
<span class="list-group-item">No tables yet.</span>
@@ -14,7 +18,7 @@
$rows = $table->revision->row_count;
@endphp
<a class="list-group-item list-group-item-action"
href="{{$table->viewPage}}">
href="{{$table->viewRoute}}">
<span class="row">{{-- this must be span so that Lynx includes the table name in the anchor --}}
<span class="d-block col-7 flex-grow-1">
@icon(fa-table fa-pr){!!