Loading organizations...
++ {orgsQuery.error instanceof Error ? orgsQuery.error.message : "Failed to load organizations"} +
+
+ You're not a member of any organizations.
+ Ask an admin to invite you, or create a new organization.
+
+ {org.slug} +
++ Created {formatDate(new Date(org.createdAt))} +
+Loading organization...
++ {displayError instanceof Error + ? displayError.message + : "Failed to load organization"} +
+ + Back to organizations + +{slug}
+ {#if currentUserRole} ++ {memberCount === 1 ? "team member" : "team members"} +
++ {siteCount === 1 ? "connected site" : "connected sites"} +
++ {member.displayName || member.email} +
+ {#if member.displayName} +{member.email}
+ {/if} +No members yet
+ {/if} +No sites connected
+ {/if} +Loading members...
++ {error instanceof Error ? error.message : "Failed to load members"} +
+No members yet
+ {/if} +Loading settings...
++ {displayError instanceof Error + ? displayError.message + : "Failed to load settings"} +
++ {#if isAccepting} + Please wait while we process your invitation + {:else if error} + We couldn't process your invitation + {:else if success} + Redirecting to your dashboard... + {/if} +
+{error}
+