2012-01-12 07:04:57 +00:00
|
|
|
/ Page Header
|
2012-01-12 07:28:57 +00:00
|
|
|
%header.top_panel_holder
|
2012-01-15 17:42:20 +00:00
|
|
|
.wrapper
|
2012-01-16 19:07:57 +00:00
|
|
|
.top_panel_content
|
|
|
|
%div.main_links
|
|
|
|
= link_to root_path, :class => "home", :title => "Home" do
|
2012-01-19 19:00:50 +00:00
|
|
|
= image_tag "logo.png", :width => 100
|
2012-01-12 07:28:57 +00:00
|
|
|
|
2012-01-16 19:07:57 +00:00
|
|
|
- if project_layout
|
|
|
|
.project_name
|
2012-02-07 23:00:49 +00:00
|
|
|
= truncate @project.name, :length => 35
|
2012-01-13 21:13:44 +00:00
|
|
|
|
2012-01-12 07:04:57 +00:00
|
|
|
|
2012-01-16 19:07:57 +00:00
|
|
|
.account-box
|
|
|
|
= link_to profile_path, :class => "pic" do
|
|
|
|
= image_tag gravatar_icon(current_user.email)
|
|
|
|
.account-links
|
|
|
|
= link_to profile_path, :class => "username" do
|
|
|
|
My profile
|
|
|
|
= link_to 'Logout', destroy_user_session_path, :class => "logout", :method => :delete
|