mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-27 20:51:57 +00:00
Repaired other uses of entity-meta view
This commit is contained in:
parent
0c3c8fc9c3
commit
b0d027a4a9
@ -12,7 +12,7 @@
|
|||||||
<p >{{ $book->getExcerpt(130) }}</p>
|
<p >{{ $book->getExcerpt(130) }}</p>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="grid-card-footer">
|
<div class="grid-card-footer text-muted text-small">
|
||||||
<span>@include('partials.entity-meta', ['entity' => $book])</span>
|
<span>@include('partials.entity-meta', ['entity' => $book])</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
@ -21,7 +21,9 @@
|
|||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
|
||||||
@include('partials.entity-meta', ['entity' => $page])
|
<div class="text-muted text-small">
|
||||||
|
@include('partials.entity-meta', ['entity' => $page])
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
@section('sidebar')
|
@section('sidebar')
|
||||||
<div class="card">
|
<div class="card">
|
||||||
<h3>@icon('info') {{ trans('common.details') }}</h3>
|
<h3>@icon('info') {{ trans('common.details') }}</h3>
|
||||||
<div class="body">
|
<div class="body text-small text-muted">
|
||||||
@include('partials.entity-meta', ['entity' => $revision])
|
@include('partials.entity-meta', ['entity' => $revision])
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<div class="entity-meta">
|
<div class="entity-meta">
|
||||||
@if($entity->isA('revision'))
|
@if($entity->isA('revision'))
|
||||||
{{ trans('entities.pages_revision') }}
|
@icon('history'){{ trans('entities.pages_revision') }}
|
||||||
{{ trans('entities.pages_revisions_number') }}{{ $entity->revision_number == 0 ? '' : $entity->revision_number }}
|
{{ trans('entities.pages_revisions_number') }}{{ $entity->revision_number == 0 ? '' : $entity->revision_number }}
|
||||||
<br>
|
<br>
|
||||||
@endif
|
@endif
|
||||||
|
Loading…
Reference in New Issue
Block a user