|
|
@ -61,7 +61,7 @@ |
|
|
|
{{ $revision->note }} |
|
|
|
{{ $revision->note }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-md-2 text-right"> |
|
|
|
<div class="col-md-2 text-right"> |
|
|
|
@if(!$isCurrent && user()->ownsTable($table)) |
|
|
|
@if(!$isCurrent && authed() && user()->ownsTable($table)) |
|
|
|
<a href="{{$table->actionRoute('revert-to', ['rev' => $num])}}" class="btn btn-outline-secondary btn-sm">Set as current</a> |
|
|
|
<a href="{{$table->actionRoute('revert-to', ['rev' => $num])}}" class="btn btn-outline-secondary btn-sm">Set as current</a> |
|
|
|
@endif |
|
|
|
@endif |
|
|
|
</div> |
|
|
|
</div> |
|
|
|