diaspora/app/views/shared/_sub_header.haml
2010-10-17 21:55:03 -07:00

20 lines
481 B
Text

#aspect_header
.container
.span-5.last
- if @person
%h2
= @person.real_name
- else
%h2
- if @aspect == :all
= link_to "Everyone", root_path
- elsif @aspect == :manage
= link_to t('.manage_aspects'), root_path
- else
= link_to @aspect.name, @aspect
.page_title
= yield :page_title
.span-19.last{ :style => "position:relative;" }
= yield :publish