diaspora/app/views/admins/_admin_bar.haml
flaburgan a7d97b7fd3
Add mobile message confirmation on user invit action, Refactor admin responsive code to use bootstrap grid
Hide pod version alert only in the mobile version, not depending on screen size
2017-07-05 01:50:16 +02:00

20 lines
1.1 KiB
Text

%h2= t(".pages")
%ul.nav.nav-pills.nav-stacked#admin-nav
%li{role: "presentation", class: current_page?(admin_dashboard_path) && "active"}
= link_to t(".dashboard"), admin_dashboard_path
%li{role: "presentation", class: current_page?(user_search_path) && "active"}
= link_to t(".user_search"), user_search_path
%li{role: "presentation", class: current_page?(weekly_user_stats_path) && "active"}
= link_to t(".weekly_user_stats"), weekly_user_stats_path
%li{role: "presentation", class: current_page?(pod_stats_path) && "active"}
= link_to t(".pod_stats"), pod_stats_path
%li{role: "presentation", class: current_page?(report_index_path) && "active"}
%a{href: report_index_path}
- if unreviewed_reports_count > 0
.pull-right.badge
= unreviewed_reports_count
= t(".report")
%li{role: "presentation", class: current_page?(admin_pods_path) && "active"}
= link_to t(".pod_network"), admin_pods_path
%li{role: "presentation", class: current_page?(sidekiq_path) && "active"}
= link_to t(".sidekiq_monitor"), sidekiq_path