@extends('layouts.master') @section('content')

{{ $subtitle }}

@if ($versions->count()) @foreach ($versions as $v) @endforeach
{{ _('Compare') }} {{ _('Title') }} {{ _('Date') }} {{ _('By') }}
{!! link_to_route('page.version.show', $v->name, [$v->page_id, $v->id]) !!} {{ $v->created_at->toDayDateTimeString() }}
{{ $v->created_at->diffForHumans() }}
{{ $v->user }}
{!! pagination_links($versions) !!} @else
{{ _('No results found') }} ×
@endif

{!! link_to($compareUrl, _('Compare'), ['id' => 'compare', 'class' => 'button']) !!} {!! link_to($returnUrl, _('Return'), ['class' => 'secondary button']) !!}

@stop @section('js') @parent @stop