@extends(Theme::viewName('layout')) @section('title', trans('admin.list_comments_title')) @section('breadcrumb')
@lang('admin.no_comments_text')
@lang('admin.no_comments_text_2')
{{-- TODO: edit comments {{ $comment->name }} --}} {{ $comment->name }} {{ trans('admin.comment_summary', ['album_name' => $comment->photo->album->name, 'photo_name' => $comment->photo->name, 'comment_date' => date(UserConfig::get('date_format'), strtotime($comment->created_at))]) }}
{!! $comment->textAsHtml() !!}
@if (!$comment->isModerated()) @lang('admin.comment_badge.new') @elseif ($comment->isApproved()) @lang('admin.comment_badge.approved') @elseif ($comment->isRejected()) @lang('admin.comment_badge.rejected') @endif