Bring the likes back. Ditch the pins.

Revert "swap pin for heart [ci skip]"

This reverts commit 488e064e11.

Conflicts:

	app/views/templates/likes_info.jst

Revert "reference pin icon in mobile view [ci skip]"

This reverts commit 9377dd30f4.

Revert "first pass at strickly user level rename from like => pin. still need to update assets"

This reverts commit d06ccb9ba9.

Conflicts:

	config/locales/diaspora/en.yml

add heart icon back
This commit is contained in:
danielgrippi 2012-02-13 16:48:00 -08:00
parent 5f4ebc94bb
commit ab76b0cd8e
11 changed files with 38 additions and 38 deletions

View file

@ -3,7 +3,7 @@
-# the COPYRIGHT file. -# the COPYRIGHT file.
- if likes_count > 0 - if likes_count > 0
= image_tag('icons/pin.png') = image_tag('icons/heart.png')
- if target_type == "Comment" - if target_type == "Comment"
= link_to t('likes.likes.people_like_this_comment', :count => likes_count), comment_likes_path(target_id), :class => "expand_likes" = link_to t('likes.likes.people_like_this_comment', :count => likes_count), comment_likes_path(target_id), :class => "expand_likes"
- else - else

View file

@ -369,13 +369,13 @@ en:
likes: likes:
likes: likes:
people_pin_this: people_like_this:
zero: "no pins" zero: "no likes"
one: "%{count} pin" one: "%{count} like"
two: "%{count} pins" two: "%{count} likes"
few: "%{count} pins" few: "%{count} likes"
many: "%{count} pins" many: "%{count} likes"
other: "%{count} pins" other: "%{count} likes"
people_like_this_comment: people_like_this_comment:
zero: "no likes" zero: "no likes"
one: "%{count} like" one: "%{count} like"
@ -428,12 +428,12 @@ en:
many: "%{actors} have mentioned you in a %{post_link}." many: "%{actors} have mentioned you in a %{post_link}."
other: "%{actors} have mentioned you in a %{post_link}." other: "%{actors} have mentioned you in a %{post_link}."
liked: liked:
zero: "%{actors} have pinned your %{post_link}." zero: "%{actors} have liked your %{post_link}."
one: "%{actors} has pinned your %{post_link}." one: "%{actors} has liked your %{post_link}."
two: "%{actors} have pinned your %{post_link}." two: "%{actors} have liked your %{post_link}."
few: "%{actors} have pinned your %{post_link}." few: "%{actors} have liked your %{post_link}."
many: "%{actors} have pinned your %{post_link}." many: "%{actors} have liked your %{post_link}."
other: "%{actors} have pinned your %{post_link}." other: "%{actors} have liked your %{post_link}."
reshared: reshared:
zero: "%{actors} have reshared your %{post_link}." zero: "%{actors} have reshared your %{post_link}."
one: "%{actors} has reshared your %{post_link}." one: "%{actors} has reshared your %{post_link}."
@ -450,12 +450,12 @@ en:
many: "%{actors} commented on a deleted post." many: "%{actors} commented on a deleted post."
other: "%{actors} commented on a deleted post." other: "%{actors} commented on a deleted post."
liked_post_deleted: liked_post_deleted:
zero: "%{actors} pinned your deleted post." zero: "%{actors} liked your deleted post."
one: "%{actors} pinned your deleted post." one: "%{actors} liked your deleted post."
two: "%{actors} pinned your deleted post." two: "%{actors} liked your deleted post."
few: "%{actors} pinned your deleted post." few: "%{actors} liked your deleted post."
many: "%{actors} pinned your deleted post." many: "%{actors} liked your deleted post."
other: "%{actors} pinned your deleted post." other: "%{actors} liked your deleted post."
reshared_post_deleted: reshared_post_deleted:
zero: "%{actors} reshared your deleted post." zero: "%{actors} reshared your deleted post."
one: "%{actors} reshared your deleted post." one: "%{actors} reshared your deleted post."
@ -512,7 +512,7 @@ en:
private_message: private_message:
reply_to_or_view: "Reply to or view this conversation >" reply_to_or_view: "Reply to or view this conversation >"
liked: liked:
liked: "%{name} pinned your post" liked: "%{name} liked your post"
view_post: "View post >" view_post: "View post >"
reshared: reshared:
reshared: "%{name} reshared your post" reshared: "%{name} reshared your post"
@ -820,8 +820,8 @@ en:
ignore_user: "Ignore %{name}" ignore_user: "Ignore %{name}"
ignore_user_description: "Ignore and remove user from all aspects?" ignore_user_description: "Ignore and remove user from all aspects?"
hide_and_mute: "Hide and mute post" hide_and_mute: "Hide and mute post"
pin: "Pin" like: "Like"
unpin: "Unpin" unlike: "Unlike"
dislike: "Dislike" dislike: "Dislike"
shared_with: "Shared with: %{aspect_names}" shared_with: "Shared with: %{aspect_names}"
nsfw: "This post has been flagged as NSFW by its author. %{link}" nsfw: "This post has been flagged as NSFW by its author. %{link}"
@ -908,8 +908,8 @@ en:
contacts_title: "People whose posts you commented on" contacts_title: "People whose posts you commented on"
like_stream: like_stream:
title: "Pin Stream" title: "Like Stream"
contacts_title: "People whose posts you pinned" contacts_title: "People whose posts you like"
followed_tag: followed_tag:
title: "#Followed Tags" title: "#Followed Tags"
@ -963,7 +963,7 @@ en:
mentioned: "...you are mentioned in a post?" mentioned: "...you are mentioned in a post?"
started_sharing: "...someone starts sharing with you?" started_sharing: "...someone starts sharing with you?"
private_message: "...you receive a private message?" private_message: "...you receive a private message?"
liked: "...someone pins your post?" liked: "...someone likes your post?"
reshared: "...someone reshares your post?" reshared: "...someone reshares your post?"
change: "Change" change: "Change"
email_awaiting_confirmation: "We have sent you an activation link to %{unconfirmed_email}. Until you follow this link and activate the new address, we will continue to use your original address %{email}." email_awaiting_confirmation: "We have sent you an activation link to %{unconfirmed_email}. Until you follow this link and activate the new address, we will continue to use your original address %{email}."

View file

@ -53,7 +53,7 @@ en:
many: "In <%= count %> aspects" many: "In <%= count %> aspects"
other: "In <%= count %> aspects" other: "In <%= count %> aspects"
show_more: "show more" show_more: "show more"
failed_to_like: "Failed to pin!" failed_to_like: "Failed to like!"
failed_to_post_message: "Failed to post message!" failed_to_post_message: "Failed to post message!"
comments: comments:
show: "show all comments" show: "show all comments"
@ -78,20 +78,20 @@ en:
hide: "Hide" hide: "Hide"
public: "Public" public: "Public"
limited: "Limited" limited: "Limited"
like: "Pin" like: "Like"
unlike: "Unpin" unlike: "Unlike"
reshare: "Reshare" reshare: "Reshare"
comment: "Comment" comment: "Comment"
original_post_deleted: "Original post deleted by author." original_post_deleted: "Original post deleted by author."
show_post: "Show post" show_post: "Show post"
likes: likes:
zero: "<%= count %> Pins" zero: "<%= count %> Likes"
one: "<%= count %> Pin" one: "<%= count %> Like"
two: "<%= count %> Pins" two: "<%= count %> Likes"
few: "<%= count %> Pins" few: "<%= count %> Likes"
many: "<%= count %> Pins" many: "<%= count %> Likes"
other: "<%= count %> Pins" other: "<%= count %> Likes"
reshares: reshares:
zero: "<%= count %> Reshares" zero: "<%= count %> Reshares"

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 871 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 871 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -2,7 +2,7 @@
<div class="comment"> <div class="comment">
<div class="media"> <div class="media">
<span class="img"> <span class="img">
<img alt="Heart" src="{{imageUrl "/images/icons/pin.png"}}" /> <img alt="Heart" src="{{imageUrl "/images/icons/heart.png"}}" />
</span> </span>
<div class="bd"> <div class="bd">

View file

@ -429,9 +429,9 @@ footer {
} }
.like_action { .like_action {
background-image: url("/images/icons/pin_mobile_grey.png"); background-image: url("/images/icons/heart_mobile_grey.png");
&.active { &.active {
background-image: url("/images/icons/pin_mobile_red.png"); background-image: url("/images/icons/heart_mobile_red.png");
} }
} }