gitlabhq/app/views/profile/_top_menu.html.haml
Dmitriy Zaporozhets d378468794 v1.0
2011-10-13 04:00:00 +03:00

5 lines
420 B
Text

%div.top_project_menu
%span= link_to "Profile", profile_path, :class => current_page?(:controller => "profile", :action => :show) ? "current" : nil
%span= link_to "Password", profile_password_path, :style => "width:70px;", :class => current_page?(:controller => "profile", :action => :password) ? "current" : nil
%span= link_to "Keys", keys_path, :class => controller.controller_name == "keys" ? "current" : nil