Merge branch 'master' of git.rrerr.net:justask/justask
Conflicts: app/views/shared/_answerbox.html.haml
This commit is contained in:
commit
9fe8be1db8
|
@ -12,9 +12,10 @@
|
||||||
%button.btn.btn-info.btn-sm{type: :button, name: 'ab-smile', data: { a_id: a.id, action: :smile }}
|
%button.btn.btn-info.btn-sm{type: :button, name: 'ab-smile', data: { a_id: a.id, action: :smile }}
|
||||||
%i.fa.fa-smile-o
|
%i.fa.fa-smile-o
|
||||||
%span{id: "ab-smile-count-#{a.id}"}= a.smile_count
|
%span{id: "ab-smile-count-#{a.id}"}= a.smile_count
|
||||||
%button.btn.btn-primary.btn-sm{type: :button, name: 'ab-comments', data: { a_id: a.id, state: :hidden }}
|
- unless @display_all
|
||||||
%i.fa.fa-comments
|
%button.btn.btn-primary.btn-sm{type: :button, name: 'ab-comments', data: { a_id: a.id, state: :hidden }}
|
||||||
%span{id: "ab-comment-count-#{a.id}"}= a.comment_count
|
%i.fa.fa-comments
|
||||||
|
%span{id: "ab-comment-count-#{a.id}"}= a.comment_count
|
||||||
- if privileged? a.user
|
- if privileged? a.user
|
||||||
%button.btn.btn-danger.btn-sm{name: 'ab-destroy', data: { a_id: a.id }}
|
%button.btn.btn-danger.btn-sm{name: 'ab-destroy', data: { a_id: a.id }}
|
||||||
%i.fa.fa-trash-o
|
%i.fa.fa-trash-o
|
Loading…
Reference in New Issue