allow the user to see who has liked a specific comment.
This commit is contained in:
parent
dc947e449b
commit
f788de17fd
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
- if likes_count > 0
|
||||
= image_tag('icons/heart.svg')
|
||||
- if target_type == "Comment"
|
||||
= t('likes.likes.people_like_this_comment', :count => likes_count)
|
||||
= link_to t('likes.likes.people_like_this_comment', :count => likes_count), comment_likes_path(target_id), :class => "expand_likes"
|
||||
- else
|
||||
= link_to t('likes.likes.people_like_this', :count => likes_count), post_likes_path(target_id), :class => "expand_likes"
|
||||
%span.hidden.likes_list
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ var ContentUpdater = {
|
|||
},
|
||||
|
||||
addLikesToPost: function(postGUID, html) {
|
||||
var likesContainer = $(".likes.on_post .likes_container", "#" + postGUID)
|
||||
var likesContainer = $(".likes_container:first", "#" + postGUID)
|
||||
.fadeOut("fast")
|
||||
.html(html);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue