Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/profile/_top_menu.html.haml')
-rw-r--r--app/views/profile/_top_menu.html.haml5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/views/profile/_top_menu.html.haml b/app/views/profile/_top_menu.html.haml
new file mode 100644
index 00000000000..6bf3b09f499
--- /dev/null
+++ b/app/views/profile/_top_menu.html.haml
@@ -0,0 +1,5 @@
+%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
+