From cc3702d733a9f15da43856443d6cdc8fe4436308 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20Sch=C3=B6lling?= Date: Thu, 28 Jul 2011 00:27:56 +0200 Subject: [PATCH] Added the number of aspects a message is posted to next to the 'limited' text --- app/views/shared/_stream_element.html.haml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/views/shared/_stream_element.html.haml b/app/views/shared/_stream_element.html.haml index 1c869ca00..4caa6130c 100644 --- a/app/views/shared/_stream_element.html.haml +++ b/app/views/shared/_stream_element.html.haml @@ -44,9 +44,11 @@ - if post.author.owner_id == current_user.id %span.post_scope{:title => t('.shared_with', :aspect_names => aspects_with_post(all_aspects, post).map!{|a| a.name}.join(', '))} = t('limited') + (#{aspects_with_post(all_aspects, post).size}) - else %span.post_scope = t('limited') + (#{aspects_with_post(all_aspects, post).size}) ยท %span.via