-
<%= t("system_notifications.index.whats_new_html") %>
- <%= t("system_notifications.index.whats_new_html") %> <%= link_to t('system_notifications.index.see_all'), system_notifications_path %> <%= link_to t('nav.user.settings'), preferences_path %>
- <%= t("system_notifications.index.no_notifications") %>
<% if current_user.teams.length > 0 %>
-
-
<%= form_for(current_user,
url: user_current_team_path,
method: :post) do |f| %>
<%= hidden_field(:user, :current_team_id) %>
- <% if current_team == team %> <%= team.name %> <% else %> <%= team.name %> <% end %> <% end %>
- <%= link_to new_team_path do %> <%= t('users.settings.teams.index.new_team') %> <% end %> <% end %>
<%= t('nav.team_switch_title') %><% current_user.teams.ordered.each do |team| %><% end %> <% if can_create_teams? %>
<% end %>
-
<%= form_tag search_path,
method: :get,
id: 'search-bar',
class: 'navbar-form',
role: 'search' do %>
-
<%= t('nav.label.notifications') %>
- <%= t('notifications.title') %> <%= link_to t('nav.user.settings'), preferences_path %>
- <%= t('notifications.no_recent') %>
- <%= link_to t('notifications.show_all'), notifications_path %>
-
<%= t('nav.user_greeting', full_name: current_user.full_name) %>
<%= image_tag avatar_path(current_user, :icon_small),
class: "avatar" %>
- <%= link_to t('nav.user.logout'), destroy_user_session_path, method: :delete %>