Don't check for what aspects you sent somebody else's posts to

This commit is contained in:
Raphael Sofaer 2011-08-10 11:23:11 -07:00
parent 46f940621d
commit 938b633c67

View file

@ -41,8 +41,8 @@
= t('public') = t('public')
· ·
- else - else
- aspects = aspects_with_post(all_aspects, post)
- if post.author.owner_id == current_user.id - if post.author.owner_id == current_user.id
- aspects = aspects_with_post(all_aspects, post)
%span.post_scope{:title => t('.shared_with', :aspect_names => aspects.map!{|a| a.name}.join(', '))} %span.post_scope{:title => t('.shared_with', :aspect_names => aspects.map!{|a| a.name}.join(', '))}
- if aspects.size == 1 - if aspects.size == 1
= aspects.first = aspects.first
@ -51,11 +51,7 @@
(#{aspects.size}) (#{aspects.size})
- else - else
%span.post_scope %span.post_scope
- if aspects.size == 1 = t('limited')
= aspects.first
- else
= t('limited')
(#{aspects.size})
· ·
%span.via %span.via