diaspora/app/views/shared/_sub_header.haml
ilya 08b9aa864a Merge branch 'master' of github.com:diaspora/diaspora into fb
Conflicts:
	app/views/layouts/application.html.haml
	app/views/shared/_publisher.haml
	app/views/shared/_sub_header.haml
	app/views/users/edit.html.haml
	config/deploy_config.yml
	config/routes.rb
2010-09-27 15:39:50 -07:00

22 lines
548 B
Text

#aspect_header
.container
.span-5.last
- if @person
%h1
= @person.real_name
- else
%h1
- if @aspect == :all
= link_to t('.all_aspects'), root_path
- elsif @aspect == :public
= "Public"
- 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