mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-20 16:10:00 +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,6 +20,7 @@
|
||||||
%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
|
||||||
|
- unless comment.user == current_user
|
||||||
%li
|
%li
|
||||||
%a{href: '#', data: { action: 'ab-comment-report', c_id: comment.id }}
|
%a{href: '#', data: { action: 'ab-comment-report', c_id: comment.id }}
|
||||||
%i.fa.fa-exclamation-triangle
|
%i.fa.fa-exclamation-triangle
|
||||||
|
|
Loading…
Reference in a new issue