26 lines
876 B
Text
26 lines
876 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)
|
|
- if defined?(@post_type)
|
|
- case @post_type
|
|
- when :all
|
|
= "#{t('.viewing')}: #{t('.all')}"
|
|
- when :photos
|
|
= "#{t('.viewing')}: #{t('_photos')}"
|
|
- when :status_messages
|
|
= "#{t('.viewing')}: #{t('.status_messages')}"
|