diff options
Diffstat (limited to 'vrsite/templates/page-notes.tmpl')
| -rw-r--r-- | vrsite/templates/page-notes.tmpl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/vrsite/templates/page-notes.tmpl b/vrsite/templates/page-notes.tmpl index 974dc64..242c137 100644 --- a/vrsite/templates/page-notes.tmpl +++ b/vrsite/templates/page-notes.tmpl @@ -7,7 +7,16 @@ <header class="filehead"> <h1>Notes</h1> <p class="meta"> - {{len .Site.Notes}} in the log{{if .Live}} · anything you add here is appended to the log — the repo is never touched{{end}} + {{if eq .Scope "all"}} + all {{.Site.NotesTotal}} in the log, every change + {{else if .ScopeEmpty}} + all {{.Site.NotesTotal}} in the log — nothing was recorded at <code>{{short .ChangeID}}</code> + {{else}} + {{len .Site.Notes}} written at <code title="{{.ChangeID}}">{{short .ChangeID}}</code>{{if .Elsewhere}} · + {{if .Live}}<a href="{{.ScopeHref "all"}}">{{.Elsewhere}} more at other changes</a> + {{else}}{{.Elsewhere}} more at other changes are not in this export{{end}}{{end}} + {{end}} + {{if .Live}} · anything you add here is appended to the log at this change — the repo is never touched{{end}} </p> </header> |
