2012-01-12 08:04:57 +01:00
|
|
|
/ Page Header
|
2012-01-12 08:28:57 +01:00
|
|
|
%header.top_panel_holder
|
2012-04-10 07:51:08 +02:00
|
|
|
.container
|
2012-01-16 20:07:57 +01:00
|
|
|
.top_panel_content
|
2012-02-09 23:07:49 +01:00
|
|
|
%div.app_logo
|
2012-08-11 00:07:50 +02:00
|
|
|
= link_to root_path, class: "home", title: "Home" do
|
2012-06-04 00:37:27 +02:00
|
|
|
%h1
|
2012-02-28 21:59:36 +01:00
|
|
|
GITLAB
|
2012-04-22 15:01:59 +02:00
|
|
|
%span.separator
|
2012-02-09 08:59:14 +01:00
|
|
|
%h1.project_name= title
|
2012-10-11 23:41:49 +02:00
|
|
|
= render "layouts/search"
|
2012-05-19 11:00:46 +02:00
|
|
|
.fbtn
|
|
|
|
- if current_user.is_admin?
|
2012-08-11 00:07:50 +02:00
|
|
|
= link_to admin_root_path, class: "btn small", title: "Admin area" do
|
2012-05-19 11:00:46 +02:00
|
|
|
%i.icon-cog
|
|
|
|
Admin
|
|
|
|
- if current_user.can_create_project?
|
2012-08-11 00:07:50 +02:00
|
|
|
= link_to new_project_path, class: "btn small", title: "Create New Project" do
|
2012-05-19 11:00:46 +02:00
|
|
|
%i.icon-plus
|
|
|
|
Project
|
2012-01-16 20:07:57 +01:00
|
|
|
.account-box
|
2012-08-11 00:07:50 +02:00
|
|
|
= link_to profile_path, class: "pic" do
|
2012-01-16 20:07:57 +01:00
|
|
|
= image_tag gravatar_icon(current_user.email)
|
|
|
|
.account-links
|
2012-08-11 00:07:50 +02:00
|
|
|
= link_to profile_path, class: "username" do
|
2012-01-16 20:07:57 +01:00
|
|
|
My profile
|
2012-08-11 00:07:50 +02:00
|
|
|
= link_to 'Logout', destroy_user_session_path, class: "logout", method: :delete
|
2012-02-09 08:59:14 +01:00
|
|
|
|
2012-10-10 00:16:52 +02:00
|
|
|
= render "layouts/init_auto_complete"
|