">
<% if alert %>
<%= alert %>
<% elsif notice %>
<%= notice %>
<% elsif Rails.env.development? %>
Do not use development information to make decisions about your production environment
<% else %>
<%= link_to "PgHero", root_path %>
<% end %>
<% if @databases.size > 1 %>
<% end %>
- "><%= link_to "Overview", root_path %>
<% if @system_stats_enabled %>
- "><%= link_to "System", system_path %>
<% end %>
<% if @query_stats_enabled %>
- "><%= link_to "Queries", queries_path %>
<% end %>
- "><%= link_to "Index Usage", index_usage_path %>
- "><%= link_to "Space", space_path %>
- "><%= link_to "Connections", connections_path %>
- "><%= link_to "Live Queries", live_queries_path %>
- "><%= link_to "Maintenance", maintenance_path %>
- "><%= link_to "Explain", explain_path %>
- "><%= link_to "Tune", tune_path %>
<% if @databases.size > 1 %>
<% @databases.each do |database| %>
- ">
<%= link_to database.name, database: database.id %>
<% end %>
<% end %>
<%= yield %>