w0bm.com v1.5z FULL.RETARD.BUILD.BUT.STILL.WORKS
This commit is contained in:
15
resources/views/layout2/partials/comment.blade.php
Normal file
15
resources/views/layout2/partials/comment.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<div class="panel @if($del = !is_null($comment->deleted_at)) panel-danger @else panel-default @endif" data-id="{{$comment->id}}" author="{{$comment->user->username}}">
|
||||
<div class="comment panel-body" author="{{$comment->user->username}}">
|
||||
@simplemd($comment->content)
|
||||
</div>
|
||||
<div class="panel-footer">by <a class="{{$comment->user->username}}" href="/user/{{$comment->user->username}}">{!! $comment->user->displayName() !!}</a> <small><time class="timeago" data-toggle="tooltip" data-placement="top" datetime="{{$comment->created_at}}+0000" title="{{$comment->created_at}}+0000"></time></small>
|
||||
@if($mod)
|
||||
@if($del)
|
||||
<a href="#" onclick="restoreComment($(this))"><i style="color:green"; class="fa fa-refresh" aria-hidden="true"></i></a>
|
||||
@else
|
||||
<a class="delete_comment" href="#" onclick="deleteComment($(this))">[del]</a>
|
||||
<a class="edit_comment" href="#" onclick="editComment($(this))">[edit]</a>
|
||||
@endif
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user