make the two links on comment notifications clearer

This commit is contained in:
maxwell 2010-12-17 11:48:08 -08:00
parent 5763b441be
commit 3c3e03993a
3 changed files with 4 additions and 3 deletions

View file

@ -8,7 +8,7 @@ module NotificationsHelper
when 'new_request'
translation
when 'comment_on_post'
link_to translation, object_path(Comment.first(:id => note.object_id).post)
"#{translation} #{link_to t('notifications.post'), object_path(Comment.first(:id => note.object_id).post)}".html_safe
else
end
end

View file

@ -5,4 +5,4 @@
%h3
= link_to "#{note.person.name.titleize}", person_path(note.person)
= object_link(note)
%span.description=" #{time_ago_in_words(note.created_at)}"
%span.description=" #{t('ago', :time => time_ago_in_words(note.created_at))}"

View file

@ -182,7 +182,8 @@ en:
notifications:
request_accepted: "accepted your share request."
new_request: "offered to share with you."
comment_on_post: "commented on your post"
comment_on_post: "commented on your"
post: 'post'
users:
edit:
export_data: "Export Data"