{{ .Page }} New Source {{ if (or (.IsLocked) (.IsEncrypted) )}} {{ else }} {{ if .IsEncrypted }}Decrypt{{ else }}Encrypt{{end}} {{ if .IsLocked }}Unlock{{ else }}Lock{{end}} History Self-destruct Erase {{ end }} View {{ if (or (.IsLocked) (.IsEncrypted) )}} {{ if .IsLocked }} {{ if .IsLocked }}Unlock{{ else }}Lock{{end}} {{ else }} {{ if .IsEncrypted }}Decrypt{{ else }}Encrypt{{end}} {{ end }} {{else}} {{ if .ListPage }} Clear done {{ else }} List {{ end }} Edit {{end}} {{ if .DontKnowPage }} {{ .Route }} not understood!{{ end }} {{ if .ViewPage }} {{ .RenderedPage }} {{ end }} {{ if .EditPage }} {{ .RawPage }}{{ end }} {{ if .HistoryPage }} History {{range $i, $e := .Versions}} View List Raw {{index $.VersionsText $i}} ({{if lt (index $.VersionsChangeSums $i) 0}}{{else}}+{{end}}{{index $.VersionsChangeSums $i}}) {{end}} {{ end }} {{ if .ListPage }} {{ range $index, $element := .ListItems }} {{ $element }} {{ end }} {{ end }}