Added the number of aspects a message is posted to next to the 'limited' text

This commit is contained in:
Manuel Schölling 2011-07-28 00:27:56 +02:00 committed by Raphael Sofaer
parent 8df5ba0c77
commit cc3702d733

View file

@ -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