From ab6abc637ef5f04bb732032f96a91543b4e7974c Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Mon, 25 Aug 2014 12:51:58 -0500 Subject: [PATCH] optimize and clarify post for site profile --- views/_news_profile_comment.erb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/views/_news_profile_comment.erb b/views/_news_profile_comment.erb index 77911a11..6f1c7f98 100644 --- a/views/_news_profile_comment.erb +++ b/views/_news_profile_comment.erb @@ -1,6 +1,11 @@ +<% actioning_site = profile_comment.actioning_site_dataset.select(:username, :title, :domain).first %> +
-
- <%= profile_comment.actioning_site.title %> +
+ <%= actioning_site.title %> + <% if request.path == '/' %> + posted on your site profile: + <% end %> <%= profile_comment.created_at.ago %>