<% if user_signed_in? %>
<%= nav_link "Agents", agents_path do %>
<% end %>
<%= nav_link "Scenarios", scenarios_path %>
<%= nav_link "Events", events_path %>
<%= nav_link "Credentials", user_credentials_path %>
<%= nav_link "Services", services_path %>
<% end %>
<%= link_to current_user.admin? ? jobs_path : '#' do %>
<%= icon_tag('glyphicon-refresh', class: 'icon-white') %> 0
<% end %>
<%= link_to current_user.admin? ? jobs_path : '#' do %>
<%= icon_tag('glyphicon-question-sign', class: 'icon-yellow') %> 0
<% end %>
<%= link_to current_user.admin? ? jobs_path : '#', class: 'hidden-sm hidden-xs' do %>
<%= icon_tag('glyphicon-exclamation-sign', class: 'icon-white') %> 0
<% end %>
<%= icon_tag('glyphicon-random', class: 'icon-white') %> 0 events
<% end %>
Account
<% if user_signed_in? && session[:original_admin_user_id].present? %>
<%= current_user.username %>
<% end %>