diaspora/app/views/shared/_author_info.html.haml
Jonne Hass f426c08dcc made shared/_contatct_list.html.haml
and the type after "viewing:" in shared/_author_info.html.haml translatable
2010-11-19 17:25:05 +01:00

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')}"