summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-06-14 10:21:09 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-06-15 09:10:16 -0500
commit58c8661cd161e10d6dc51300c59850481e61cfd7 (patch)
tree5431ae9551f958942aaaea50b2e9169b2207b783
parent10ae4a8e71e14053beb9f90196c9450838d8a44e (diff)
downloadgitlab-ce-58c8661cd161e10d6dc51300c59850481e61cfd7.tar.gz
Remove admin layout-nav counters
-rw-r--r--app/views/layouts/nav/_admin.html.haml4
1 files changed, 0 insertions, 4 deletions
diff --git a/app/views/layouts/nav/_admin.html.haml b/app/views/layouts/nav/_admin.html.haml
index b2539a1beac..6258e6fd54b 100644
--- a/app/views/layouts/nav/_admin.html.haml
+++ b/app/views/layouts/nav/_admin.html.haml
@@ -24,12 +24,10 @@
= link_to admin_runners_path, title: 'Runners' do
%span
Runners
- %span.count= number_with_delimiter(Ci::Runner.count(:all))
= nav_link path: 'builds#index' do
= link_to admin_builds_path, title: 'Builds' do
%span
Builds
- %span.count= number_with_delimiter(Ci::Build.count(:all))
= nav_link(controller: :logs) do
= link_to admin_logs_path, title: 'Logs' do
%span
@@ -74,14 +72,12 @@
= link_to admin_abuse_reports_path, title: "Abuse Reports" do
%span
Abuse Reports
- %span.count= number_with_delimiter(AbuseReport.count(:all))
- if askimet_enabled?
= nav_link(controller: :spam_logs) do
= link_to admin_spam_logs_path, title: "Spam Logs" do
%span
Spam Logs
- %span.count= number_with_delimiter(SpamLog.count(:all))
= nav_link(controller: :application_settings, html_options: { class: 'separate-item'}) do
= link_to admin_application_settings_path, title: 'Settings' do