make (current) in revisions list clickable

master
Ondřej Hruška 6 years ago
parent 57a8fc58d6
commit f594ef412e
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 4
      resources/views/table/revisions.blade.php

@ -40,7 +40,9 @@
{{ $revision->created_at->diffForHumans() }} {{ $revision->created_at->diffForHumans() }}
</span> </span>
@if($isCurrent) @if($isCurrent)
<span class="text-muted ml-1">(current)</span> <span class="text-muted ml-1">
(<a class="link-no-color" href="{{ $table->viewRoute }}">current</a>)
</span>
@else @else
<span class="text-muted ml-1"> <span class="text-muted ml-1">
(<a class="link-no-color" href="{{ $table->viewRoute }}?rev={{$num}}">see table in this revision</a>) (<a class="link-no-color" href="{{ $table->viewRoute }}?rev={{$num}}">see table in this revision</a>)

Loading…
Cancel
Save