all repos — elgit @ 60e1092dbcfacb28b30d052b0f73d2249cd63a9d

fork of legit: web frontend for git, written in go

templates: tree and log links for tags
Anirudh Oppiliappan x@icyphox.sh
Mon, 12 Dec 2022 22:13:19 +0530
commit

60e1092dbcfacb28b30d052b0f73d2249cd63a9d

parent

7a6ff3565e8e5f55d50c509c9ee12438b61c850e

1 files changed, 5 insertions(+), 2 deletions(-)

jump to
M templates/refs.htmltemplates/refs.html
@@ -19,10 +19,13 @@ <a href="/{{ $name }}/log/{{ .Name.Short }}">log</a>       </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 }}