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/admin/_top_menu.html.haml')
-rw-r--r--app/views/admin/_top_menu.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/admin/_top_menu.html.haml b/app/views/admin/_top_menu.html.haml
new file mode 100644
index 00000000000..d63caa7e8ee
--- /dev/null
+++ b/app/views/admin/_top_menu.html.haml
@@ -0,0 +1,6 @@
+%div.top_project_menu
+ %span= link_to "Users", admin_users_path, :style => "width:50px;", :class => controller.controller_name == "users" ? "current" : nil
+ %span= link_to "Projects", admin_projects_path, :style => "width:50px;", :class => controller.controller_name == "projects" ? "current" : nil
+ %span= link_to "Teams", admin_team_members_path, :style => "width:50px;", :class => controller.controller_name == "team_members" ? "current" : nil
+ %span= link_to "Emails", admin_emails_path, :style => "width:50px;", :class => controller.controller_name == "mailer" ? "current" : nil
+