{{define "content"}}

Version history

Every edit somebody typed, newest first.

Back to sheet
{{/* A fixed sentence chosen by code, in its tone (shared chrome spec §4); role="alert" only for a submit that did not work. */}} {{with .Data.Notice}}{{template "callout" (dict "Body" . "Tone" $.Data.NoticeTone "Alert" (eq $.Data.NoticeTone "negative"))}}{{end}} {{if .Data.MayWrite}}
{{/* rst-field-help, not rst-help — see share.html and the guard. */}}

Undo only ever touches your own edits, one cell at a time. If somebody has written over that cell since, your undo takes it back — and you can undo that too.

{{end}} {{/* Edits, not changed cells. The log holds inputs and never derived values (spec §4.3, ruling 16), so an edit that recalculated four hundred cells appears here once — which is both what the storage can support and what a person wants to read. */}} {{if .Data.Entries}}
{{if .Data.MayWrite}}{{end}} {{$sheet := .Data.Sheet}} {{$mayWrite := .Data.MayWrite}} {{range .Data.Entries}} {{if $mayWrite}} {{end}} {{end}}
Cell Was Became Who WhenPut back
{{.Ref}} {{if .Old}}{{.Old}}{{else}}empty{{end}} {{if .Cleared}}cleared{{else}}{{.New}}{{end}} {{.Who}}{{if .Mine}} you{{end}} {{.When.Format "2 Jan 2006, 15:04"}} {{/* Restoring is a fresh write, not a rewind: it appears here as an edit by whoever did it and is itself undoable. A rewind would make this log disagree with the sheet. */}}
{{else}}

Nothing yet

Edits show up here as soon as somebody types into a cell.

{{end}} {{end}}