<% if can_manage_team?(@team) %>
<%= render partial: "shared/inline_editing",
locals: {
initial_value: @team.name,
config: {
field_to_udpate: 'name',
params_group: 'team',
path_to_update: update_team_path(@team, format: :json)
}
} %>
<% else %>
<%= @team.name %>
<% end %>
<%= t("users.settings.teams.show.tasks_share.enable_label") %>
<%= check_box_tag 'select_team_share_permission', 0, @team.shareable_links_enabled?, { class: 'sci-toggle-checkbox team-share-permission',
data: { disable_url: disable_tasks_sharing_modal_team_path(),
enable_url: shared_tasks_toggle_team_path()
},
disabled: !can_manage_team?(@team) } %>
<% if can_manage_team?(@team) %>
"><%= @team.description %>
<%= t('general.cancel') %>
<%= t('general.save') %>
<% else %>
<%= @team.description.blank? ? t('users.settings.teams.edit.header_no_description') : @team.description %>
<% end %>
<% if can_invite_team_users?(@team) %>
<%= render(partial: 'shared/invite_users_modal',
locals: { modal_id: 'team-invite-users-modal',
type: 'invite_to_team_with_role',
team: @team } ) %>
<% end %>
<%= t("users.settings.teams.edit.thead_user_name") %> |
<%= t("users.settings.teams.edit.thead_email") %> |
<%= t("users.settings.teams.edit.thead_role") %> |
<%= t("users.settings.teams.edit.thead_joined_on") %> |
<%= t("users.settings.teams.edit.thead_status") %> |
<%= t("users.settings.teams.edit.thead_actions") %> |