From 2bb2c6e3e8933260a621231ed26620ce5ab6444b Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez Date: Thu, 15 Sep 2011 23:16:13 -0300 Subject: [PATCH] Add links to person profile for post hidden text --- app/views/shared/_stream_element.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index 859636a9b..9cd47b1ba 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -13,9 +13,9 @@ .undo_text.hidden %p - = t('post_visibilites.update.post_hidden_and_muted', :name => post.author.name) - %p - = t('post_visibilites.update.see_it_on_their_profile', :name => post.author.name) + = t('post_visibilites.update.post_hidden_and_muted', :name => person_link(post.author)).html_safe + %p + = t('post_visibilites.update.see_it_on_their_profile', :name => person_link(post.author)).html_safe = link_to t('undo'), post_visibility_path(:id => "42", :post_id => post.id), :method => :put, :remote => true .sm_body