you can report yourself anymore in comments

This commit is contained in:
Andreas N 2015-01-02 00:41:26 +01:00
parent ed9c7e945d
commit 57f469e429
1 changed files with 5 additions and 4 deletions

View File

@ -20,10 +20,11 @@
%a{href: '#', data: { action: 'ab-comment-destroy', c_id: comment.id }}
%i.fa.fa-trash-o
Delete
%li
%a{href: '#', data: { action: 'ab-comment-report', c_id: comment.id }}
%i.fa.fa-exclamation-triangle
Report
- unless comment.user == current_user
%li
%a{href: '#', data: { action: 'ab-comment-report', c_id: comment.id }}
%i.fa.fa-exclamation-triangle
Report
%p.comments--content= comment.content
- if user_signed_in?
.form-group.has-feedback{name: 'ab-comment-new-group', data: { a_id: a.id }}