Skip to content

Business intelligence made simple

Added more nav links

Andrew Kane02c2927a021f
diff --git a/app/views/blazer/_nav.html.erb b/app/views/blazer/_nav.html.erb
index 7a558306..5ff29386 100644
--- a/app/views/blazer/_nav.html.erb
+++ b/app/views/blazer/_nav.html.erb
@@ -6,6 +6,9 @@
</button>
<ul class="dropdown-menu">
<li><%= link_to "Checks", checks_path %></li>
+ <% if Blazer.uploads? %>
+ <li><%= link_to "Uploads", uploads_path %></li>
+ <% end %>
<li role="separator" class="divider"></li>
<li><%= link_to "New Query", new_query_path %></li>
<li><%= link_to "New Dashboard", new_dashboard_path %></li>
diff --git a/app/views/blazer/checks/index.html.erb b/app/views/blazer/checks/index.html.erb
index 53eb7c6f..9ec1c7bc 100644
--- a/app/views/blazer/checks/index.html.erb
+++ b/app/views/blazer/checks/index.html.erb
@@ -10,6 +10,9 @@
</button>
<ul class="dropdown-menu">
<li><%= link_to "Home", root_path %></li>
+ <% if Blazer.uploads? %>
+ <li><%= link_to "Uploads", uploads_path %></li>
+ <% end %>
<li role="separator" class="divider"></li>
<li><%= link_to "New Query", new_query_path %></li>
<li><%= link_to "New Dashboard", new_dashboard_path %></li>
diff --git a/app/views/blazer/uploads/index.html.erb b/app/views/blazer/uploads/index.html.erb
index 48f4884a..18dc1a2b 100644
--- a/app/views/blazer/uploads/index.html.erb
+++ b/app/views/blazer/uploads/index.html.erb
@@ -10,6 +10,7 @@
</button>
<ul class="dropdown-menu">
<li><%= link_to "Home", root_path %></li>
+ <li><%= link_to "Checks", checks_path %></li>
<li role="separator" class="divider"></li>
<li><%= link_to "New Query", new_query_path %></li>
<li><%= link_to "New Dashboard", new_dashboard_path %></li>