From dd088a97e2c0fc194eb208322e6b2c7a31d897d9 Mon Sep 17 00:00:00 2001 From: uu59 Date: Thu, 17 Jul 2014 11:36:32 +0900 Subject: [PATCH 1/7] Hide plugin pages until fluentd setup finished --- app/views/shared/_global_nav.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/shared/_global_nav.html.erb b/app/views/shared/_global_nav.html.erb index b57b0d8..817f2ca 100644 --- a/app/views/shared/_global_nav.html.erb +++ b/app/views/shared/_global_nav.html.erb @@ -12,6 +12,8 @@ <% end %> + + <% if fluentd_exists? %>
  • <%= link_to_other icon("fa-cogs fa-fw") << " " << t('terms.plugins') << icon('fa pull-right fa-caret-down'), plugins_path %>
  • + <% end %> +
  • <%= link_to_other icon('fa-coffee fa-fw') << " " << t('terms.misc') << icon('fa pull-right fa-caret-down'), misc_path %>