removed report comment thing
This commit is contained in:
parent
e75284dba0
commit
cd289a32c4
|
@ -7,21 +7,15 @@ There are no comments yet
|
||||||
%img.img-rounded.answerbox--img{src: gravatar_url(comment.user)}
|
%img.img-rounded.answerbox--img{src: gravatar_url(comment.user)}
|
||||||
.media-body.comments--body
|
.media-body.comments--body
|
||||||
%h6.media-heading.answerbox--question-user= user_screen_name comment.user
|
%h6.media-heading.answerbox--question-user= user_screen_name comment.user
|
||||||
- if user_signed_in?
|
.pull-right
|
||||||
.pull-right
|
.btn-group
|
||||||
.btn-group
|
%button.btn.btn-link.btn-sm.dropdown-toggle{data: { toggle: :dropdown }, aria: { expanded: :false }}
|
||||||
%button.btn.btn-link.btn-sm.dropdown-toggle{data: { toggle: :dropdown }, aria: { expanded: :false }}
|
%span.caret
|
||||||
%span.caret
|
%ul.dropdown-menu.dropdown-menu-right{role: :menu}
|
||||||
%ul.dropdown-menu.dropdown-menu-right{role: :menu}
|
%li.text-danger
|
||||||
- if privileged? a.user
|
%a{href: '#', name: 'ab-destroy', data: { a_id: comment.id }}
|
||||||
%li.text-danger
|
%i.fa.fa-trash-o
|
||||||
%a{href: '#', name: 'ab-destroy', data: { a_id: comment.id }}
|
Delete
|
||||||
%i.fa.fa-trash-o
|
|
||||||
Delete
|
|
||||||
%li
|
|
||||||
%a{href: '#', name: 'ab-report', data: { a_id: comment.id }}
|
|
||||||
%i.fa.fa-exclamation-triangle
|
|
||||||
Report
|
|
||||||
%p.comments--content= comment.content
|
%p.comments--content= comment.content
|
||||||
.form-group.has-feedback
|
.form-group.has-feedback
|
||||||
%input.form-control.comments--box{type: :text, placeholder: 'Comment...'}
|
%input.form-control.comments--box{type: :text, placeholder: 'Comment...'}
|
||||||
|
|
Loading…
Reference in New Issue