{{.Error}}
{{end}} {{if .Notice}}{{.Notice}}
{{end}} {{if eq .Section "login"}}{{$.I18n.T "Welcome back."}}
{{$.I18n.T "New to Beirut?"}} {{$.I18n.T "Create an account"}}
{{end}} {{if eq .Section "register"}} {{if .Invitation}}{{.Invitation.OrganizationName}}
{{end}}{{if .Invitation}}{{$.I18n.T "Join your organisation."}}{{else}}{{$.I18n.T "Make room for a conversation."}}{{end}}
{{$.I18n.T "Already have an account?"}} {{$.I18n.T "Sign in"}}
{{end}} {{if eq .Section "workspaces"}}{{$.I18n.T "Your workspaces."}}
{{$.I18n.T "Accept an invitation or create an organisation to get started."}}
{{end}}{{$.I18n.T "Create an organisation"}}
{{end}} {{if eq .Section "invite"}}{{$.I18n.T "Organisation invitation"}}
{{$.I18n.T "Join your organisation."}}
{{.Invitation.OrganizationName}}
{{$.I18n.T "Invitation email"}} {{.Invitation.Email}}
{{$.I18n.T "Expires"}} {{.Invitation.ExpiresAt.Format "2006-01-02"}}
{{if .Session.User.ID}}{{$.I18n.T "Signed in as"}} {{.Session.User.Email}}
{{else}}{{end}} {{end}} {{if eq .Section "settings"}}{{.Session.Organization.Name}}
{{$.I18n.T "Workspace settings."}}
{{$.I18n.T "Instagram"}}
{{if .Connection}}@{{.Connection.Username}}
{{if eq .Connection.Status "active"}}{{$.I18n.T "Connected. Posts and conversations belong to this workspace."}}{{else if eq .Connection.Status "reconnect_required"}}{{$.I18n.T "Reconnect this account to resume Instagram communication."}}{{else}}{{$.I18n.T "Disconnected."}}{{end}}
{{else}}{{$.I18n.T "Connect your organisation’s Instagram Business or Creator account to load its posts and receive conversations."}}
{{end}} {{if .Admin}} {{if .Configured}}{{$.I18n.T "Meta will ask you to select your business portfolio and one Instagram account, then approve access to posts, comments and messages."}}
{{else}}{{$.I18n.T "The installation administrator needs to configure the shared Meta app before Instagram accounts can connect. You can try campaign replies with sample posts in the meantime."}}
{{end}} {{if .Connection}}{{if eq .Connection.Status "active"}}{{end}}{{end}} {{else}}{{$.I18n.T "An organisation administrator can connect Instagram."}}
{{end}}{{$.I18n.T "Your team"}}
- {{range .Members}}
- {{.Email}}{{if eq .Role "admin"}}{{$.I18n.T "Administrator"}}{{else}}{{$.I18n.T "Member"}}{{end}}{{if ne .UserID $.Session.User.ID}}{{end}} {{end}}
{{$.I18n.T "Signed in as"}} {{.Session.User.Email}} · {{if eq .Session.Organization.Role "admin"}}{{$.I18n.T "Administrator"}}{{else}}{{$.I18n.T "Member"}}{{end}}