- {/* License expiration section */}
- {licenseInfo?.has_license && licenseInfo.expiration_date && (
-
-
-
- License
-
- {isLicenseExpired ? "Expired" : isLicenseExpiringSoon ? "Expiring soon" : "OK"}
-
-
-
- Status:
-
- {formatExpirationDisplay(daysUntilExpiration)}
-
-
- {licenseInfo.license_type && (
-
- Type:
- {licenseInfo.license_type}
-
- )}
-
- )}
-
- {/* Users section */}
- {data.total_users !== null && (
-
-
-
- Users
-
- {userMetrics.isOverLimit ? "Over limit" : userMetrics.isNearLimit ? "Near limit" : "OK"}
-
-
-
- Used:
-
- {data.total_users_used}/{data.total_users}
-
-
-
- Remaining:
-
- {data.total_users_remaining}
-
-
-
- Usage:
- {Math.round(userMetrics.usagePercentage)}%
-
-
- {/* User progress bar */}
-
-
- )}
-
- {/* Teams section */}
- {data.total_teams !== null && (
-
-
-
- Teams
-
- {teamMetrics.isOverLimit ? "Over limit" : teamMetrics.isNearLimit ? "Near limit" : "OK"}
-
-
-
- Used:
-
- {data.total_teams_used}/{data.total_teams}
-
-
-
- Remaining:
-
- {data.total_teams_remaining}
-
-
-
- Usage:
- {Math.round(teamMetrics.usagePercentage)}%
-
-
- {/* Team progress bar */}
-
-
- )}
-