server ver

This commit is contained in:
2021-04-16 20:41:48 +00:00
parent c9257dc357
commit 1b5088cde7
159 changed files with 3533 additions and 740 deletions

View File

@@ -0,0 +1,26 @@
<aside class="comments hidden-xs">
@if(Auth::check())
@if($video->id == '30186')
@include('partials.thread_closed')
@else
@include('partials.commentform')
@endif
@endif
<div class="commentwrapper">
<?php
if($mod = (Auth::check() && Auth::user()->can('delete_comment'))) $comments = $video->comments()->withTrashed()->get();
else $comments = $video->comments;
?>
@if(count($comments) > 0)
@foreach($comments as $comment)
@include('partials.comment', ['comment' => $comment, 'mod' => $mod])
@endforeach
@else
<div class="panel panel-default nocomments">
<div class="panel-body">
No comments yet.
</div>
</div>
@endif
</div>
</aside>