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

31 lines
990 B
PHP
Raw Normal View History

@extends('tri-layout')
2015-08-09 07:06:52 -04: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('partials.entity-meta', ['entity' => $revision])
</div>
</div>
@stop
2015-08-09 07:06:52 -04:00
@section('body')
<div class="mb-m">
@include('partials.breadcrumbs', ['crumbs' => [
$page->$book,
$page->chapter,
$page,
$page->getUrl('/revisions') => trans('entities.pages_revisions'),
$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 07:06:52 -04:00
</div>
<div class="card content-wrap">
<div class="page-content page-revision">
@include('pages.page-display')
</div>
</div>
2017-05-28 08:16:21 -04:00
@stop