diaspora/app/views/shared/_author_info.html.haml
2010-11-12 06:07:37 +01:00

19 lines
673 B
Text

#author_info
= person_image_link(person)
.from
%h2
= link_to person.real_name, person_path(person)
- if defined?(post)
.aspect
%ul
- if post.public?
=t('the_world')
- else
- for aspect in current_user.aspects_with_post( post.id )
%li= link_to aspect.name, aspect
#person_nav_links
= link_to t('.view_profile'), person_path(person)
= link_to t('_photos'), person_photos_path(person)
= link_to t('.status_messages'), person_status_messages_path(person)
= "#{t('.viewing')}: #{@post_type.to_s.titleize}" if defined?(@post_type)