From 8ec4e135e318c7799b2576a8729493c063da4a97 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Thu, 30 Jul 2026 17:05:12 -0300 Subject: --- vrsite/templates/frag-change.tmpl | 41 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 vrsite/templates/frag-change.tmpl (limited to 'vrsite/templates/frag-change.tmpl') diff --git a/vrsite/templates/frag-change.tmpl b/vrsite/templates/frag-change.tmpl new file mode 100644 index 0000000..b33d746 --- /dev/null +++ b/vrsite/templates/frag-change.tmpl @@ -0,0 +1,41 @@ +{{/* The change everything on screen is read at, and how wide the view is. + Every page carries it, because every read, note and file listing below + is relative to it. */}} +{{define "changebar"}} +
+
+ change + {{if .Live}}{{short .ChangeID}} + {{else}}{{short .ChangeID}}{{end}} + {{with .ChangeInfo}}{{if .Flags}}{{.Flags}}{{end}}{{end}} +
+ {{with .ChangeInfo}} +

{{if .Desc}}{{.Desc}}{{else}}(no description){{end}}

+ {{end}} + +

+ {{if eq .Scope "all"}} + {{.Site.NotesTotal}} notes across every change{{if .Here}} · {{.Here}} here{{end}} + {{else if .ScopeEmpty}} + nothing recorded at this change — showing all {{.Site.NotesTotal}} + {{else}} + {{.Here}} notes here{{if .Elsewhere}} · {{.Elsewhere}} elsewhere{{end}} + {{end}} +

+ + {{if .Live}} + +
+ + {{if eq .Scope "all"}}{{end}} +
+ {{if .Rev}}

← back to {{short .Default}}, where the log points

{{end}} + {{end}} +
+{{end}} -- cgit v1.3