remove that button
This commit is contained in:
parent
4961a44d59
commit
20c173442d
|
@ -12,6 +12,7 @@
|
||||||
%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
|
||||||
|
- unless @display_all
|
||||||
%button.btn.btn-primary.btn-sm{type: :button, name: 'ab-comments', data: { a_id: a.id, state: :hidden }}
|
%button.btn.btn-primary.btn-sm{type: :button, name: 'ab-comments', data: { a_id: a.id, state: :hidden }}
|
||||||
%i.fa.fa-comments
|
%i.fa.fa-comments
|
||||||
%span{id: "ab-comment-count-#{a.id}"}= a.comment_count
|
%span{id: "ab-comment-count-#{a.id}"}= a.comment_count
|
||||||
|
|
Loading…
Reference in New Issue