@if (team(); as t) {

{{ t.name }}

{{ "admin.team.overview.title" | transloco }} {{ t.name }}
{{ "admin.team.overview.teamIdLabel" | transloco }} {{ t.id }}
{{ "common.columns.role" | transloco }}
{{ "admin.team.overview.memberCount" | transloco }} {{ t.usage?.current_members ?? 0 }}
@if (cloudPlan(); as cloudPlan) {
{{ "admin.team.overview.cloud.title" | transloco }}
{{ cloudPlan.plan.name }}

{{ "admin.team.overview.cloud.description" | transloco }}

@if (cloudPlan.cloud.jurisdiction) { {{ "admin.team.overview.cloud.jurisdiction" | transloco }}: {{ cloudPlan.cloud.jurisdiction }} } @if (cloudPlan.cloud.region) { {{ "admin.team.overview.cloud.region" | transloco }}: {{ cloudPlan.cloud.region }} } {{ "admin.team.overview.cloud.retention" | transloco }}: {{ retentionLabel(cloudPlan.retentionDays) }}
@if (canManageBilling()) {
@if (cloudPlan.plan.support_url || cloudPlan.cloud.support_url; as supportUrl) { {{ "admin.team.overview.cloud.supportAction" | transloco }} }
} @if (showPlanComparison()) {
@if (currentTier(); as current) {
{{ ("signup.plans." + current.code + ".name") | transloco }}
{{ ("signup.plans." + current.code + ".price") | transloco }}

{{ ("signup.plans." + current.code + ".description") | transloco }}

{{ "admin.team.overview.plans.features.sites" | transloco: { count: current.entitlements.max_sites_per_team } }}
{{ "admin.team.overview.plans.features.members" | transloco: { count: current.entitlements.max_team_members } }}
{{ retentionYears(current.entitlements.max_retention_days) }}
} @for (tier of upgradeTiers(); track tier.code) {
{{ ("signup.plans." + tier.code + ".name") | transloco }} @if (tier.code === "pro") { }
{{ ("signup.plans." + tier.code + ".price") | transloco }}

{{ ("signup.plans." + tier.code + ".description") | transloco }}

{{ "admin.team.overview.plans.features.sites" | transloco: { count: tier.entitlements.max_sites_per_team } }}
{{ "admin.team.overview.plans.features.members" | transloco: { count: tier.entitlements.max_team_members } }}
{{ retentionYears(tier.entitlements.max_retention_days) }}
}
}
} @if (showUsageSection()) {

{{ "admin.team.overview.usage.title" | transloco }}

{{ "admin.team.overview.usage.description" | transloco }}

{{ pendingInviteLabel(t.usage?.current_pending_invites ?? 0) }}
@for (card of usageCards(); track card.key) {
{{ ("admin.team.overview.usage.metrics." + card.key) | transloco }} {{ card.limitLabel }}
{{ card.displayValue }} {{ card.description }}
@if (card.hasFiniteLimit) { {{ "admin.team.overview.usage.progressLabel" | transloco: { count: card.percentage } }} } @else { {{ "admin.team.overview.usage.unlimitedFootnote" | transloco }} }
}
}
}