comments -> reactions
This commit is contained in:
parent
ab3d220b57
commit
00e561dd01
3 changed files with 10 additions and 2 deletions
|
|
@ -47,5 +47,5 @@
|
|||
- else
|
||||
= link_to '', '#', :class => "image_link like_action inactive", 'data-post-id' => post.id
|
||||
|
||||
= link_to "#{t('comments', :count => post.comments.length)}", post_path(post), :class => 'comment_link'
|
||||
= link_to "#{t('reactions', :count => (post.comments.length + post.likes_count))}", post_path(post), :class => 'comment_link'
|
||||
|
||||
|
|
|
|||
|
|
@ -210,6 +210,14 @@ en:
|
|||
comment: "Comment"
|
||||
commenting: "Commenting..."
|
||||
|
||||
reactions:
|
||||
zero: "No reactions"
|
||||
one: "1 reaction"
|
||||
two: "%{count} reactions"
|
||||
few: "%{count} reactions"
|
||||
many: "%{count} reactions"
|
||||
other: "%{count} reactions"
|
||||
|
||||
contacts:
|
||||
zero: "no contacts"
|
||||
one: "1 contact"
|
||||
|
|
|
|||
|
|
@ -368,7 +368,7 @@ footer {
|
|||
|
||||
.like_action {
|
||||
background-image: url("/images/icons/heart_mobile_grey.png");
|
||||
.active {
|
||||
&.active {
|
||||
background-image: url("/images/icons/heart_mobile_red.png"); } }
|
||||
|
||||
.comment_action {
|
||||
|
|
|
|||
Loading…
Reference in a new issue