FIX: fix comments overview
This commit is contained in:
@@ -10,8 +10,8 @@
|
|||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<div class="header-block">
|
<div class="header-block">
|
||||||
<p class="title">
|
<p class="title">
|
||||||
<img src="@gravatar($comment->author->email, 25)" class="img-rounded" alt="">
|
<img src="@gravatar($comment->email, 25)" class="img-rounded" alt="">
|
||||||
{{$comment->author->name}} ({{$comment->author->email}})
|
{{$comment->name}} ({{$comment->email}})
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -21,12 +21,12 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-footer">
|
<div class="card-footer">
|
||||||
@lang('article::comments.createdAt', ['date' => \App\CMS\Helpers\Template::date($comment->created_at)])
|
@lang('article::comments.createdAt', ['date' => \App\CMS\Helpers\Date::date($comment->created_at)])
|
||||||
|
|
|
|
||||||
|
|
||||||
@lang('article::comments.commentedArticle'):
|
@lang('article::comments.commentedArticle'):
|
||||||
|
|
||||||
@if($comment->article)
|
@if(!is_null($comment->article))
|
||||||
<a href="{{route('page.content', ['url' => $comment->article->url])}}" target="_blank">
|
<a href="{{route('page.content', ['url' => $comment->article->url])}}" target="_blank">
|
||||||
{{$comment->article->title}}
|
{{$comment->article->title}}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user