diaspora/app/views/shared/_author_info.html.haml

18 lines
583 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?
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 'status messages', person_status_messages_path(person)