summaryrefslogtreecommitdiff
path: root/vrsite/templates/frag-jj.tmpl
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-02 12:36:54 -0300
committerGabriel Schneider <[email protected]>2026-08-02 17:37:58 -0300
commite16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb (patch)
treede0db0c369522b5bf92ff32a8351de2224c5c9dc /vrsite/templates/frag-jj.tmpl
parent151ea12251ed876aa87bb486da1bc337e25369e9 (diff)
downloadnotevi-e16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb.tar.gz
notevi-e16f78b255bcf46d8c6f9a4b9e76dd7a3817edeb.zip
Diffstat (limited to 'vrsite/templates/frag-jj.tmpl')
-rw-r--r--vrsite/templates/frag-jj.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/vrsite/templates/frag-jj.tmpl b/vrsite/templates/frag-jj.tmpl
index b31af53..61040dc 100644
--- a/vrsite/templates/frag-jj.tmpl
+++ b/vrsite/templates/frag-jj.tmpl
@@ -8,7 +8,7 @@
{{else if .Op}}
<div class="jjrow">
<span class="graph">{{.Graph}}</span>
- <a class="id" href="/jj?at_op={{.ID}}" title="run the commit log as of this operation">{{.Short}}</a>
+ <a class="id" href="{{$.Root}}jj?at_op={{.ID}}" title="run the commit log as of this operation">{{.Short}}</a>
<span class="when">{{.When}}</span>
<span class="who">{{.Author}}</span>
<span class="desc">{{.Desc}}</span>
@@ -17,17 +17,17 @@
{{else}}
<div class="jjrow">
<span class="graph">{{.Graph}}</span>
- <a class="id" href="/change/{{.ID}}" title="{{.ID}}">{{.Short}}</a>
+ <a class="id" href="{{$.Root}}change/{{.ID}}" title="{{.ID}}">{{.Short}}</a>
<code class="commit">{{.CommitShort}}</code>
<span class="when">{{.When}}</span>
<span class="who">{{.Author}}</span>
{{if .Refs}}<span class="refs">{{.Refs}}</span>{{end}}
{{if .Flags}}<span class="flags">{{.Flags}}</span>{{end}}
- <a class="desc" href="/files?rev={{.ID}}" title="browse the tree at this change">{{if .Desc}}{{.Desc}}{{else}}(no description){{end}}</a>
+ <a class="desc" href="{{$.Root}}files?rev={{.ID}}" title="browse the tree at this change">{{if .Desc}}{{.Desc}}{{else}}(no description){{end}}</a>
</div>
{{end}}
{{end}}
</div>
{{else if not .Err}}<p class="meta hint">no revisions matched</p>{{end}}
-{{if .AtOp}}<p class="meta">as of operation <code>{{short .AtOp}}</code> · <a href="/jj?kind=op">back to the op log</a></p>{{end}}
+{{if .AtOp}}<p class="meta">as of operation <code>{{short .AtOp}}</code> · <a href="{{.Root}}jj?kind=op">back to the op log</a></p>{{end}}
{{end}}