summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 22:13:19 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-12 22:13:19 +0530
commit60e1092dbcfacb28b30d052b0f73d2249cd63a9d (patch)
tree4751765aab72fceded21fad3588f100f9757d7c1 /templates
parent7a6ff3565e8e5f55d50c509c9ee12438b61c850e (diff)
downloadlegit-60e1092dbcfacb28b30d052b0f73d2249cd63a9d.tar.gz
legit-60e1092dbcfacb28b30d052b0f73d2249cd63a9d.tar.bz2
legit-60e1092dbcfacb28b30d052b0f73d2249cd63a9d.zip
templates: tree and log links for tags
Diffstat (limited to 'templates')
-rw-r--r--templates/refs.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/refs.html b/templates/refs.html
index e1668d2..aee4a11 100644
--- a/templates/refs.html
+++ b/templates/refs.html
@@ -19,10 +19,13 @@
</p>
{{ end }}
{{ if .tags }}
+ <h3>tags</h3>
{{ range .tags }}
- <p>{{ .Name }}</p>
+ <strong>{{ .Name }}</strong>
+ <a href="/{{ $name }}/tree/{{ .Name }}/">browse</a>
+ <a href="/{{ $name }}/log/{{ .Name }}">log</a>
{{ if .Message }}
- <p>{{ .Message }}</p>
+ <pre>{{ .Message }}</pre>
{{ end }}
{{ end }}
{{ end }}