<%= link_to image_tag('logo.png'), root_path, class: 'navbar-brand' %>
  • <%= link_to t('home'), root_path %>
  • <%= link_to Project.model_name.human.pluralize, projects_path %>
  • <%= link_to Repository.model_name.human.pluralize, repositories_path %>
  • <%= link_to KalibroConfiguration.model_name.human.pluralize, kalibro_configurations_path %>
  • <%= link_to ReadingGroup.model_name.human.pluralize, reading_groups_path %>
    <% if user_signed_in? %>
  • <%= current_user.name %>
    • <%= link_to t('your_projects'), user_projects_path(current_user.id) %>
    • <%= link_to t('edit_account'), edit_user_registration_path %>
    • <%= link_to t('sign_out'), destroy_user_session_path, :method => :delete %>
  • <% else %>
  • <%= link_to t('sign_in'), new_user_session_path %>
  • <%= link_to t('sign_up'), new_user_registration_path %>
  • <% end %>
  • <%= t('language') %>
      <% I18n.available_locales.each do |locale| %>
    • <%= link_to(locale.to_s, url_for(locale: locale), data: { no_turbolink: true }) %>
    • <% end %>