summaryrefslogtreecommitdiffstats
path: root/gitsrht/templates/refs.html
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-01 17:14:14 -0400
committerDrew DeVault <sir@cmpwn.com>2018-10-01 17:14:57 -0400
commit0c2a72230bdbaf7e0d8b527ebe49ae6505c9815d (patch)
treedb94c449a319b71d2f52f938952924a8e20f359f /gitsrht/templates/refs.html
parent347c6134807f5849716f12d628aa914cca3267d3 (diff)
Add annotated ref page
Diffstat (limited to 'gitsrht/templates/refs.html')
-rw-r--r--gitsrht/templates/refs.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/gitsrht/templates/refs.html b/gitsrht/templates/refs.html
index 4a7c985..2d9c1dc 100644
--- a/gitsrht/templates/refs.html
+++ b/gitsrht/templates/refs.html
@@ -21,7 +21,10 @@
{% if isinstance(tag, pygit2.Commit) %}
{{ref[len("refs/tags/"):]}}
{% else %}
- <a href="#">
+ <a href="{{url_for("repo.ref",
+ owner=repo.owner.canonical_name,
+ repo=repo.name,
+ ref=tag.name)}}">
{{tag.name}}
</a>
{% endif %}