{{define "content"}}{{template "settings-start" .}}{{with .Data}}

About

This Supermarket: its edition, its version, and where it keeps things.

{{.Edition.Name}} edition

Version
{{.Version}} ยท database schema {{.Schema}}
{{range .Items}}
{{.Name}}
{{.Value}}{{if .Help}} {{.Help}}{{end}}
{{end}}
{{if eq (print .Edition) "local"}}

Supermarket also comes as a server edition, for a team signing in on a server, and a multi-tenant one, for many teams at one address. The edition is chosen with SUPERMARKET_MODE when it starts; supermarket config checks the settings.

{{end}}

Running

Copies of Supermarket using this database, and the work each has under way. Only one copy does a background job at a time; if one stops, another takes its work over within two minutes.

{{range .Copies}} {{end}}
CopyHostVersionStartedLast seen
{{.ID}}{{if .This}} (this one){{end}}{{.Host}}{{.Version}}{{ago .Started}}{{ago .Seen}}
{{if .Locks}}

Under way

{{else}}

No background work under way just now.

{{end}}
{{end}}{{template "settings-end"}}{{end}}