gitlabhq/app/views/layouts/profile.html.haml

28 lines
1.1 KiB
Plaintext
Raw Normal View History

2011-11-02 16:21:17 +01:00
!!!
%html
%head
2012-01-26 08:50:11 +01:00
%meta{:charset => "utf-8"}
2011-11-02 16:21:17 +01:00
%title
GitLab #{" - #{@project.name}" if @project && !@project.new_record?}
2011-12-28 08:18:50 +01:00
= favicon_link_tag 'favicon.ico'
2011-11-02 16:21:17 +01:00
= stylesheet_link_tag "application"
= javascript_include_tag "application"
= csrf_meta_tags
2012-01-26 18:25:35 +01:00
%body.profile
= render :partial => "layouts/flash"
2012-01-26 18:25:35 +01:00
= render :partial => "layouts/head_panel"
.container-fluid
.sidebar
%aside
= link_to "Profile", profile_path, :class => current_page?(:controller => "profile", :action => :show) ? "current" : nil
= link_to "Password & token", profile_password_path, :class => current_page?(:controller => "profile", :action => :password) ? "current" : nil
= link_to "Design", profile_design_path, :class => current_page?(:controller => "profile", :action => :design) ? "current" : nil
= link_to keys_path, :class => controller.controller_name == "keys" ? "current" : nil do
Keys
- unless current_user.keys.empty?
%span.label= current_user.keys.count
.content
.row
.span10= yield
.span4= render "layouts/projects_side"