2016-06-22 22:16:10 -04:00
|
|
|
.scrolling-tabs-container{ class: nav_control_class }
|
2016-06-20 07:55:20 -04:00
|
|
|
= render 'layouts/nav/admin_settings'
|
2016-06-22 22:16:10 -04:00
|
|
|
.fade-left
|
2016-06-27 10:06:36 -04:00
|
|
|
= icon('angle-left')
|
2016-06-22 22:16:10 -04:00
|
|
|
.fade-right
|
2016-06-27 10:06:36 -04:00
|
|
|
= icon('angle-right')
|
2016-06-20 07:55:20 -04:00
|
|
|
%ul.nav-links.scrolling-tabs
|
|
|
|
= nav_link(controller: %w(dashboard admin projects users groups builds runners), html_options: {class: 'home'}) do
|
|
|
|
= link_to admin_root_path, title: 'Overview', class: 'shortcuts-tree' do
|
|
|
|
%span
|
|
|
|
Overview
|
2016-07-15 11:46:39 -04:00
|
|
|
= nav_link(controller: %w(system_info background_jobs logs health_check requests_profiles)) do
|
2016-06-23 10:37:20 -04:00
|
|
|
= link_to admin_system_info_path, title: 'Monitoring' do
|
2016-06-20 07:55:20 -04:00
|
|
|
%span
|
|
|
|
Monitoring
|
|
|
|
= nav_link(controller: :broadcast_messages) do
|
|
|
|
= link_to admin_broadcast_messages_path, title: 'Messages' do
|
|
|
|
%span
|
|
|
|
Messages
|
|
|
|
= nav_link(controller: :hooks) do
|
|
|
|
= link_to admin_hooks_path, title: 'Hooks' do
|
|
|
|
%span
|
|
|
|
System Hooks
|
2015-09-03 08:50:23 -04:00
|
|
|
|
2016-06-20 07:55:20 -04:00
|
|
|
= nav_link(controller: :applications) do
|
|
|
|
= link_to admin_applications_path, title: 'Applications' do
|
|
|
|
%span
|
|
|
|
Applications
|
2015-08-06 09:08:22 -04:00
|
|
|
|
2016-06-20 07:55:20 -04:00
|
|
|
= nav_link(controller: :abuse_reports) do
|
|
|
|
= link_to admin_abuse_reports_path, title: "Abuse Reports" do
|
2016-06-10 11:41:00 -04:00
|
|
|
%span
|
2016-06-20 07:55:20 -04:00
|
|
|
Abuse Reports
|
|
|
|
%span.badge.count= number_with_delimiter(AbuseReport.count(:all))
|
2016-01-09 14:30:34 -05:00
|
|
|
|
2016-06-20 07:55:20 -04:00
|
|
|
- if askimet_enabled?
|
|
|
|
= nav_link(controller: :spam_logs) do
|
|
|
|
= link_to admin_spam_logs_path, title: "Spam Logs" do
|
|
|
|
%span
|
|
|
|
Spam Logs
|