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,14 +0,0 @@
<div class="panel @if($del = !is_null($comment->deleted_at)) panel-danger @else panel-default @endif">
<div class="panel-body">
@simplemd($comment->content)
</div>
<div class="panel-footer">by <a href="/user/{{$comment->user->username}}">{{$comment->user->username}}</a> <small>{{$comment->created_at->diffForHumans()}}</small>
@if($mod)
@if($del)
<a href="{{url('comment/' . $comment->id . '/restore')}}" class="btn btn-success">Restore</a>
@else
<a data-confirm="Do you really want to delete that comment?" class="btn btn-danger" href="{{url('comment/' . $comment->id . '/delete')}}">Delete</a>
@endif
@endif
</div>
</div>