server ver

This commit is contained in:
2021-06-20 13:49:07 +00:00
parent 36a8c92dec
commit 8877c0bad0
975 changed files with 555 additions and 6596 deletions

View File

@@ -1,26 +0,0 @@
<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>