summaryrefslogtreecommitdiff
path: root/app/views/layouts/admin.html.haml
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-04-20 19:41:49 +0300
committerrandx <dmitriy.zaporozhets@gmail.com>2012-04-20 19:41:49 +0300
commit35e21b3402ae934a33b31aa7d6049abaf861f766 (patch)
treebacd4f045419d02318d5eb9183c3f029b6c61a87 /app/views/layouts/admin.html.haml
parent1d601616a33aaa95e2ac7b21ff041b4a840df33c (diff)
downloadgitlab-ce-35e21b3402ae934a33b31aa7d6049abaf861f766.tar.gz
Admin dashboard
Diffstat (limited to 'app/views/layouts/admin.html.haml')
-rw-r--r--app/views/layouts/admin.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/admin.html.haml b/app/views/layouts/admin.html.haml
index a71dd57de02..2d5387c0357 100644
--- a/app/views/layouts/admin.html.haml
+++ b/app/views/layouts/admin.html.haml
@@ -7,6 +7,7 @@
.container
%nav.main_menu
= render "layouts/const_menu_links"
+ = link_to "Stats", admin_root_path, :class => controller.controller_name == "dashboard" ? "current" : nil
= link_to "Projects", admin_projects_path, :class => controller.controller_name == "projects" ? "current" : nil
= link_to "Users", admin_users_path, :class => controller.controller_name == "users" ? "current" : nil
= link_to "Emails", admin_emails_path, :class => controller.controller_name == "mailer" ? "current" : nil