mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-21 04:27:47 +01:00
you can report yourself anymore in comments
This commit is contained in:
parent
ed9c7e945d
commit
57f469e429
1 changed files with 5 additions and 4 deletions
|
@ -20,10 +20,11 @@
|
||||||
%a{href: '#', data: { action: 'ab-comment-destroy', c_id: comment.id }}
|
%a{href: '#', data: { action: 'ab-comment-destroy', c_id: comment.id }}
|
||||||
%i.fa.fa-trash-o
|
%i.fa.fa-trash-o
|
||||||
Delete
|
Delete
|
||||||
%li
|
- unless comment.user == current_user
|
||||||
%a{href: '#', data: { action: 'ab-comment-report', c_id: comment.id }}
|
%li
|
||||||
%i.fa.fa-exclamation-triangle
|
%a{href: '#', data: { action: 'ab-comment-report', c_id: comment.id }}
|
||||||
Report
|
%i.fa.fa-exclamation-triangle
|
||||||
|
Report
|
||||||
%p.comments--content= comment.content
|
%p.comments--content= comment.content
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
.form-group.has-feedback{name: 'ab-comment-new-group', data: { a_id: a.id }}
|
.form-group.has-feedback{name: 'ab-comment-new-group', data: { a_id: a.id }}
|
||||||
|
|
Loading…
Reference in a new issue