diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-30 17:05:12 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-07-30 17:56:23 -0300 |
| commit | 8ec4e135e318c7799b2576a8729493c063da4a97 (patch) | |
| tree | ab37cdbb7f478eb996264cf941891f127f303c85 /vrsite/templates/page-index.tmpl | |
| parent | cb05c363045bf0e7af5858f6d7bc26f026fa9d70 (diff) | |
| download | notevi-8ec4e135e318c7799b2576a8729493c063da4a97.tar.gz notevi-8ec4e135e318c7799b2576a8729493c063da4a97.zip | |
Diffstat (limited to 'vrsite/templates/page-index.tmpl')
| -rw-r--r-- | vrsite/templates/page-index.tmpl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/vrsite/templates/page-index.tmpl b/vrsite/templates/page-index.tmpl index 2c115cc..bd377ac 100644 --- a/vrsite/templates/page-index.tmpl +++ b/vrsite/templates/page-index.tmpl @@ -2,8 +2,10 @@ <header class="filehead"> <h1>{{.Site.Title}}</h1> <p class="meta"> - {{len .Site.All}} files, {{len .Site.Order}} traced · {{len .Site.Notes}} notes · - change <code>{{short .Site.Change}}</code> · theme {{.Site.Theme.Name}} + {{len .Files}} files at <code title="{{.ChangeID}}">{{short .ChangeID}}</code> · + {{len .Site.Order}} traced, {{len .Site.Notes}} notes + {{if or (eq .Scope "all") .ScopeEmpty}}<span class="away">across every change</span>{{else}}here{{end}} · + theme {{.Site.Theme.Name}} </p> </header> @@ -23,7 +25,9 @@ <tbody> {{range .Site.Agents}} <tr><td><span class="chip am{{.Bit}}">{{.Short}}</span></td> - <td>{{.Model}}</td><td>{{.Reason}}</td><td><code>{{short .Session}}</code></td> + <td>{{.Model}}</td><td>{{.Reason}}</td> + <td>{{if and $.Live .Session}}<a href="{{$.Href "session" .Session}}" title="{{.Session}}"><code>{{short .Session}}</code></a> + {{else}}<code title="{{.Session}}">{{short .Session}}</code>{{end}}</td> <td>{{.Reads}}</td><td>{{.Greps}}</td><td>{{.Notes}}</td></tr> {{end}} </tbody> |
