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>
 | 
			
		||||
        @endif
 | 
			
		||||
    </div>
 | 
			
		||||
    <div class="grid-card-footer">
 | 
			
		||||
    <div class="grid-card-footer text-muted text-small">
 | 
			
		||||
        <span>@include('partials.entity-meta', ['entity' => $book])</span>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
| 
						 | 
				
			
			@ -21,7 +21,9 @@
 | 
			
		|||
 | 
			
		||||
                <hr>
 | 
			
		||||
 | 
			
		||||
                <div class="text-muted text-small">
 | 
			
		||||
                    @include('partials.entity-meta', ['entity' => $page])
 | 
			
		||||
                </div>
 | 
			
		||||
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,7 +3,7 @@
 | 
			
		|||
@section('sidebar')
 | 
			
		||||
    <div class="card">
 | 
			
		||||
        <h3>@icon('info') {{ trans('common.details') }}</h3>
 | 
			
		||||
        <div class="body">
 | 
			
		||||
        <div class="body text-small text-muted">
 | 
			
		||||
            @include('partials.entity-meta', ['entity' => $revision])
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,6 +1,6 @@
 | 
			
		|||
<div class="entity-meta">
 | 
			
		||||
    @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 }}
 | 
			
		||||
        <br>
 | 
			
		||||
    @endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue