BookStack/resources/views/pages/revision.blade.php

34 lines
1.1 KiB
PHP
Raw Normal View History

@extends('layouts.tri')
2015-08-09 19:06:52 +08:00
@section('left')
<div id="revision-details" class="entity-details mb-xl">
<h5>{{ trans('common.details') }}</h5>
<div class="body text-small text-muted">
@include('entities.meta', ['entity' => $revision, 'watchOptions' => null])
</div>
</div>
@stop
2015-08-09 19:06:52 +08:00
@section('body')
<div class="mb-m print-hidden">
@include('entities.breadcrumbs', ['crumbs' => [
$page->$book,
$page->chapter,
$page,
$page->getUrl('/revisions') => [
'text' => trans('entities.pages_revisions'),
'icon' => 'history',
],
$revision->getUrl('/changes') => $diff ? trans('entities.pages_revisions_numbered_changes', ['id' => $revision->id]) : null,
$revision->getUrl() => !$diff ? trans('entities.pages_revisions_numbered', ['id' => $revision->id]) : null,
]])
2015-08-09 19:06:52 +08:00
</div>
<main class="card content-wrap">
<div class="page-content page-revision">
@include('pages.parts.page-display')
</div>
</main>
2017-05-28 20:16:21 +08:00
@stop