<% if @config.open_for_public || user_signed_in? %> <% if user_signed_in? %>
  • <%= link_to (t 'agent.dashboard'), dashboard_path %>
  • <% end %>
  • <%= link_to (t 'mission.missions'), missions_path %>
  • <%= link_to (t 'mission.agents'), agent_list_path %>
  • <% else %>
  • <%= link_to (t "landing_page.about").html_safe, root_path(anchor: 'about'), class: 'btn-about nav-responsive-link' %>
  • <%= link_to (t "landing_page.features").html_safe, root_path(anchor: 'features'), class: 'btn-features nav-responsive-link' %>
  • <%= link_to (t "landing_page.subscribe").html_safe, root_path(anchor: 'subscribe'), class: 'btn-subscribe nav-responsive-link' %>
  • <% end %>
    <% if user_signed_in? %>
  • <%= current_user.full_name %>
      <% if current_user.admin %>
    • <%= link_to (t "nav.admin_panel"), admin_dashboard_path, :id => 'navlink_admin_panel' %>
    • <% end %>
    • <%= link_to (t "nav.profile"), show_agent_path(current_user) %>
    • <%= link_to (t "nav.account"), edit_user_registration_path, id: 'nav-btn-account' %>
    • <%= link_to (t "nav.invite"), invite_path %>
    • <%= link_to (t "nav.logout"), destroy_user_session_path, method: :delete, id: 'nav-btn-logout' %>
  • <% else %>
  • <%= link_to (t "nav.login"), new_user_session_path %>
  • <% if @config.open_for_signup %>
  • <%= link_to (t "nav.signup"), new_user_registration_path %>
  • <% end %> <% end %>