%= content_for :sidebar do %>
-
<% account_style = 'font-weight: bold;' if on_settings_account_page? %>
<%= link_to t("users.settings.sidebar.account"),
edit_user_registration_path,
style: account_style,
data: { 'no-turbolink' => 'true' } %>
-
<% if on_settings_account_profile_page? %>
"><%= t("users.settings.sidebar.account_nav.profile") %>
<% else %>
<%= link_to t("users.settings.sidebar.account_nav.profile"),
edit_user_registration_path,
data: { 'no-turbolink' => 'true' } %>
<% end %>
-
<% if on_settings_account_preferences_page? %>
"><%= t("users.settings.sidebar.account_nav.preferences") %>
<% else %>
<%= link_to t("users.settings.sidebar.account_nav.preferences"),
preferences_path,
data: { 'no-turbolink' => 'true' } %>
<% end %>
-
<% if on_settings_account_addons_page? %>
"><%= t("users.settings.sidebar.account_nav.addons") %>
<% else %>
<%= link_to t("users.settings.sidebar.account_nav.addons"),
addons_path,
data: { 'no-turbolink' => 'true' } %>
<% end %>
-
<% if on_settings_team_page? %>
">
<%= link_to t("users.settings.sidebar.teams"),
teams_path,
data: { 'no-turbolink' => 'true' },
class: 'all-teams-navigation-link' %>
<% else %>
<%= link_to t("users.settings.sidebar.teams"),
teams_path,
data: { 'no-turbolink' => 'true' } %>
<% end %>
<% end %>
<%= javascript_include_tag("users/settings/list_toggle") %>