add revision reverting option

This commit is contained in:
2018-08-16 21:43:10 +02:00
parent 34e432fe87
commit cff01551de
5 changed files with 58 additions and 30 deletions
@@ -1,6 +1,9 @@
{{--
args: $table
--}}
@php
/** @var \App\Models\Table $table */
@endphp
<div class="row">
{{-- Description field --}}
@@ -68,7 +71,7 @@
<th class="text-right pr-2">Revisions</th>
<td>
{{ $table->revisions_count }}
<span class="text-muted ml-1">(<a class="link-no-color" href="{{ $table->revisionsRoute }}">see changes</a>)</span>
<span class="text-muted ml-1">(<a class="link-no-color" href="{{ $table->actionRoute('revisions') }}">see changes</a>)</span>
</td>
</tr>