varios small changes

This commit is contained in:
noxy
2019-11-29 19:39:08 +00:00
parent 50ba00431b
commit 55be581dac
11 changed files with 48 additions and 18 deletions

View File

@@ -2,14 +2,17 @@
<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)
<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>
<div class="dingz">
@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>
<a class="delete_comment" href="#{{$comment->id}}" onclick="deleteComment($(this))">[del]</a>
<a class="edit_comment" href="#{{$comment->id}}" onclick="editComment($(this))">[edit]</a>
@endif
@endif
</div>
</small>
</div>
</div>