<% if @member_of > 0 %>
<%= t("users.settings.teams.index.description_label") %>
<%= t("users.settings.teams.index.member_of", count: @member_of) %>
<% else %>
<%= t("users.settings.teams.index.description_label") %>
<%= t("users.settings.teams.index.no_teams") %>
<% end %>
<% if can_create_teams? %>
<%= link_to new_team_path, class: "btn btn-primary", style: "margin-left: 30px;" do %>
<%= t("users.settings.teams.index.new_team") %>
<% end %>
<% end %>
<% if @member_of > 0 %>
<%= t("users.settings.teams.index.thead_name") %> |
<%= t("users.settings.teams.index.thead_role") %> |
<%= t("users.settings.teams.index.thead_members") %> |
|
<% else %>
<% end %>