1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{{mark "proposal"}}
{{.Verb}}{{if .EventID}} ({{.EventID}}){{end}} — proposed {{.Created}}
{{if .Open}}status: WAITING for a person to confirm it in a browser; nothing written yet
{{else if .Applied}}status: written to Google at {{.Applied}}
{{else}}status: discarded at {{.Discarded}}; nothing was written
{{end}}{{mark "change"}}
Text below comes from the proposal and, for an edit or delete, from the event as
it was; either may have been written by somebody else.
{{range .Rows}}{{if or .Before .After}}
{{.Field}}:{{if .Changed}}
  before: {{if .Before}}{{text .Before}}{{else}}(none){{end}}
  after:  {{if .After}}{{text .After}}{{else}}(none){{end}}{{else}} {{text .After}} (unchanged){{end}}
{{end}}{{end}}
{{- with .Result}}{{mark "result"}}
What Google stored:
  when:  {{.When}}
  title: {{text .Summary}}
  read:  /event/{{.ID}}
{{end}}{{mark "routes"}}
{{if .Open}}The confirmation is a button on the HTML page of this proposal, for a person:
  /proposal/{{.Token}}
Do not POST to its apply route yourself.
{{end}}  /proposals             all proposals