Change smile hotkey to `s`
This commit is contained in:
parent
9572f844ec
commit
cc73f84152
|
@ -1,4 +1,4 @@
|
||||||
%button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile", data: { a_id: a.id, action: current_user&.smiled?(a) ? :unsmile : :smile, selection_hotkey: "l" }, disabled: !user_signed_in? }
|
%button.btn.btn-link.answerbox__action{ type: :button, name: "ab-smile", data: { a_id: a.id, action: current_user&.smiled?(a) ? :unsmile : :smile, selection_hotkey: "s" }, disabled: !user_signed_in? }
|
||||||
%i.fa.fa-fw.fa-smile-o
|
%i.fa.fa-fw.fa-smile-o
|
||||||
%span{ id: "ab-smile-count-#{a.id}" }= a.smiles.count
|
%span{ id: "ab-smile-count-#{a.id}" }= a.smiles.count
|
||||||
- unless display_all
|
- unless display_all
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
%ul.list-group.list-group-flush
|
%ul.list-group.list-group-flush
|
||||||
%li.list-group-item
|
%li.list-group-item
|
||||||
= t('voc.smile')
|
= t('voc.smile')
|
||||||
%kbd l
|
%kbd s
|
||||||
%li.list-group-item
|
%li.list-group-item
|
||||||
= t('.answer.view_comments')
|
= t('.answer.view_comments')
|
||||||
%kbd x
|
%kbd x
|
||||||
|
|
Loading…
Reference in New Issue