BigW Consortium Gitlab

_admin.html.haml 1.5 KB
Newer Older
1
= render 'layouts/nav/admin_settings'
2 3
.scrolling-tabs-container{ class: nav_control_class }
  .fade-left
4
    = icon('angle-left')
5
  .fade-right
6
    = icon('angle-right')
7
  %ul.nav-links.scrolling-tabs
8
    = nav_link(controller: %w(dashboard admin projects users groups builds runners cohorts), html_options: {class: 'home'}) do
9 10 11
      = link_to admin_root_path, title: 'Overview', class: 'shortcuts-tree' do
        %span
          Overview
12 13
    = nav_link(controller: %w(conversational_development_index system_info background_jobs logs health_check requests_profiles)) do
      = link_to admin_conversational_development_index_path, title: 'Monitoring' do
14 15 16 17 18 19
        %span
          Monitoring
    = nav_link(controller: :broadcast_messages) do
      = link_to admin_broadcast_messages_path, title: 'Messages' do
        %span
          Messages
20
    = nav_link(controller: [:hooks, :hook_logs]) do
21 22 23
      = link_to admin_hooks_path, title: 'Hooks' do
        %span
          System Hooks
Valery Sizov committed
24

25 26 27 28
    = nav_link(controller: :applications) do
      = link_to admin_applications_path, title: 'Applications' do
        %span
          Applications
29

30 31
    = nav_link(controller: :abuse_reports) do
      = link_to admin_abuse_reports_path, title: "Abuse Reports" do
32
        %span
33
          Abuse Reports
34
          %span.badge.count= number_with_delimiter(AbuseReport.count(:all))
35

Douwe Maan committed
36
    - if akismet_enabled?
37 38 39 40
      = nav_link(controller: :spam_logs) do
        = link_to admin_spam_logs_path, title: "Spam Logs" do
          %span
            Spam Logs