Revert "swap pin for heart [ci skip]" This reverts commit488e064e11. Conflicts: app/views/templates/likes_info.jst Revert "reference pin icon in mobile view [ci skip]" This reverts commit9377dd30f4. Revert "first pass at strickly user level rename from like => pin. still need to update assets" This reverts commitd06ccb9ba9. Conflicts: config/locales/diaspora/en.yml add heart icon back
12 lines
546 B
Text
12 lines
546 B
Text
-# Copyright (c) 2010-2011, Diaspora Inc. This file is
|
|
-# licensed under the Affero General Public License version 3 or later. See
|
|
-# the COPYRIGHT file.
|
|
|
|
- if likes_count > 0
|
|
= image_tag('icons/heart.png')
|
|
- if target_type == "Comment"
|
|
= 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
|
|
|