diff options
Diffstat (limited to 'vrsite/templates/frag-jj.tmpl')
| -rw-r--r-- | vrsite/templates/frag-jj.tmpl | 8 |
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}} |
