{{define "rail-brand"}}{{end}} {{define "title"}}{{copy .Title}} · {{copy "brand"}}{{end}} {{define "head"}}{{.Live.Head (T "rastrillo.ui.live.paused") (T "rastrillo.ui.live.unconfirmed")}}{{with .Thin.MergePolicy}}{{if .Editable}}{{end}}{{end}}{{if .HousekeepingStream}}{{end}}{{if or (eq .Key "thinking") (eq .Key "settings-hub")}}{{end}}{{if .ConnectionsStream}}{{end}}{{if .MachinesStream}}{{end}}{{if .ChatStream}}{{if eq .Key "conversation"}}{{end}}{{else if eq .Key "conversation"}}{{end}}{{end}} {{define "up"}}/work{{if .Key}}#nav-{{.Key}}{{end}}{{end}} {{define "up-label"}}{{.TeamName}}{{end}} {{define "brand"}}{{icon "users"}}{{.TeamName}}{{end}} {{define "nav"}} {{template "region:rail" .}}{{if .SettingsNav}}{{template "settings-rail" .}}{{end}}{{end}} {{define "region:rail"}}{{end}} {{define "rail-count"}}{{if not .Known}}{{copy "counts.unavailable"}}{{else if .N}}{{.N}}{{end}}{{end}} {{define "rail-count-attention"}}{{if not .Known}}{{copy "counts.unavailable"}}{{else if .N}}{{.N}}{{end}}{{end}} {{define "rail-specialists"}}
{{copy "nav.specialists"}}
{{range .Specialists}}{{$s := .}}{{icon .Icon}}{{copy .CopyKey}}{{if .Task}}{{with .Step}}{{if gt .Attempt 1}}{{printf (copy "nav.attempt") .Attempt}}{{end}}{{end}}{{template "mark" "s"}}{{with .Step}}{{template "elapsed" .StartedAt}}{{end}}{{else}}{{copy "nav.idle"}}{{end}}{{icon "chevron-right"}}{{with .Task}}{{.Title}}{{$s.Now}}{{end}} {{end}}{{end}} {{define "region:notice"}}{{end}} {{define "profile"}}{{if .Address}}{{.Address}}{{else}}{{copy "nav.account"}}{{end}}{{end}} {{define "account"}}{{if .Address}}{{end}}{{end}} {{define "conn-mark"}}{{end}} {{define "conn-account"}}{{if .Stated}}{{.Account}} {{copy "chat.connections.you_said"}}{{else}}{{.Account}}{{end}}{{end}} {{define "conn-label"}}{{template "conn-mark" .Provider}}{{.Named}}{{if .Stated}} {{copy "chat.connections.you_said"}}{{end}}{{end}} {{define "conn-add-email"}}{{if .AddEmail}} {{copy "chat.connections.email_add"}}{{end}}{{end}}